Preview
#1f162e
Family: Deep Purple
Accessibility on this swatch:
Contrast vs white: 17.32:1 · vs black: 1.21:1
HEX
#1f162e
RGB
rgb(31, 22, 46)
RGBA
rgba(31, 22, 46, 1)
HSL
hsl(263, 35%, 13%)
HSV
hsv(263, 52%, 18%)
LAB
lab(9.5% 11.02 -14.49)
LCH
lch(9.5% 18.2 307.25)
OKLAB
oklab(0.2243 0.0233 -0.0405)
OKLCH
oklch(0.2243 0.0467 299.91)
XYZ
xyz(1.35, 1.06, 2.72)
CMYK
cmyk(33%, 52%, 0%, 82%)
CSS
color: #1f162e;
CSS variable
--color-1f162e: #1f162e;
SCSS
$color-1f162e: #1f162e;
Tailwind
violet-800
Export
:root {
--#1f162e-1: #1f162e;
}Mystery, ambition, and creativity. Strong for artistic and spiritual associations.
Usage examples: primary buttons, chart series, status badges, marketing gradients, and brand accents in the Deep Purple family.