#291686#291686
#291686 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.170 H 278.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #291686 |
|---|---|
| RGB | rgb(41, 22, 134) |
| HSL | hsl(250, 72%, 31%) |
| HSV | hsv(250, 84%, 53%) |
| CMYK | cmyk(69.4%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.08, 42.22, -58.27) |
| CIE-LCH | lch(19.08, 71.96, 305.93°) |
| OKLab | oklab(32.14% 0.0254 -0.1683) |
| OKLCH | oklch(32.14% 0.17 278.6) |
| XYZ | xyz(5.5031, 2.7660, 22.7935) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.79
Indigo (survey)
#380282
ΔE00 3.55
Darkblue
#00008B
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.19
Navy
#000080
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291686 #738616
analogous
#163B86 #291686 #611686
triadic
#291686 #862916 #168629
tetradic
#291686 #86163B #738616 #168661
square
#291686 #86163B #738616 #168661
split-complementary
#291686 #866116 #3B8616
monochromatic
#09051D #190D51 #291686 #391FBB #5438DE
Accessibility & contrast
On white
13.52
#291686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#291686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291686
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291686 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291686; /* rgb */ color: rgb(41, 22, 134); /* oklch */ color: oklch(32.1% 0.170 278.6);
Tailwind
colors: {
custom: {
50: '#7258aa',
500: '#291686',
950: '#000000',
},
}SCSS
$custom: #291686; $custom-light: #7258aa; $custom-dark: #000000;
JSON
{
"hex": "#291686",
"rgb": {
"r": 41,
"g": 22,
"b": 134
},
"hsl": {
"h": 250.179,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.3214,
"c": 0.17019,
"h": 278.6
},
"luminance": 0.02766
}Semantic roles & 50–950 ramp
primary
#291686
secondary
#A5BA3E
accent
#EF39D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F