#291A6B#291A6B
#291A6B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.132 H 283.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #291A6B |
|---|---|
| RGB | rgb(41, 26, 107) |
| HSL | hsl(251, 61%, 26%) |
| HSV | hsv(251, 76%, 42%) |
| CMYK | cmyk(61.7%, 75.7%, 0%, 58%) |
| CIE-LAB | lab(16.85, 31.39, -44.63) |
| CIE-LCH | lch(16.85, 54.57, 305.12°) |
| OKLab | oklab(29.69% 0.0304 -0.1286) |
| OKLCH | oklch(29.69% 0.132 283.3) |
| XYZ | xyz(3.9369, 2.2715, 14.1381) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Dark Indigo
#1F0954
ΔE00 4.95
Darkblue (survey)
#030764
ΔE00 5.21
Dark Royal Blue
#02066F
ΔE00 5.35
Deep Blue
#040273
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A6B #5C6B1A
analogous
#1A336B #291A6B #511A6B
triadic
#291A6B #6B291A #1A6B29
tetradic
#291A6B #6B1A33 #5C6B1A #1A6B51
square
#291A6B #6B1A33 #5C6B1A #1A6B51
split-complementary
#291A6B #6B511A #336B1A
monochromatic
#090619 #160E3A #291A6B #3C269C #4F32CD
Accessibility & contrast
On white
14.44
#291A6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#291A6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A6B
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A6B | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#033040
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #291a6b; /* rgb */ color: rgb(41, 26, 107); /* oklch */ color: oklch(29.7% 0.132 283.3);
Tailwind
colors: {
custom: {
50: '#6c5896',
500: '#291a6b',
950: '#000000',
},
}SCSS
$custom: #291a6b; $custom-light: #6c5896; $custom-dark: #000000;
JSON
{
"hex": "#291a6b",
"rgb": {
"r": 41,
"g": 26,
"b": 107
},
"hsl": {
"h": 251.111,
"s": 60.902,
"l": 26.078
},
"oklch": {
"l": 0.29692,
"c": 0.13212,
"h": 283.3
},
"luminance": 0.02272
}Semantic roles & 50–950 ramp
primary
#291A6B
secondary
#8FA040
accent
#E444C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E