#291B6A#291B6A
#291B6A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.130 H 283.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #291B6A |
|---|---|
| RGB | rgb(41, 27, 106) |
| HSL | hsl(251, 59%, 26%) |
| HSV | hsv(251, 75%, 42%) |
| CMYK | cmyk(61.3%, 74.5%, 0%, 58.4%) |
| CIE-LAB | lab(16.97, 30.46, -43.79) |
| CIE-LCH | lch(16.97, 53.34, 304.82°) |
| OKLab | oklab(29.74% 0.0298 -0.1261) |
| OKLCH | oklch(29.74% 0.13 283.3) |
| XYZ | xyz(3.9071, 2.2956, 13.8701) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.55
Dark Indigo
#1F0954
ΔE00 5.01
Darkblue (survey)
#030764
ΔE00 5.42
Dark Royal Blue
#02066F
ΔE00 5.63
Deep Blue
#040273
ΔE00 6.22
Indigo (survey)
#380282
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B6A #5C6A1B
analogous
#1B346A #291B6A #501B6A
triadic
#291B6A #6A291B #1B6A29
tetradic
#291B6A #6A1B34 #5C6A1B #1B6A50
square
#291B6A #6A1B34 #5C6A1B #1B6A50
split-complementary
#291B6A #6A501B #346A1B
monochromatic
#090618 #160F39 #291B6A #3C279B #4F34CB
Accessibility & contrast
On white
14.39
#291B6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#291B6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B6A
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B6A | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#043040
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #291b6a; /* rgb */ color: rgb(41, 27, 106); /* oklch */ color: oklch(29.7% 0.130 283.3);
Tailwind
colors: {
custom: {
50: '#6b5995',
500: '#291b6a',
950: '#000000',
},
}SCSS
$custom: #291b6a; $custom-light: #6b5995; $custom-dark: #000000;
JSON
{
"hex": "#291b6a",
"rgb": {
"r": 41,
"g": 27,
"b": 106
},
"hsl": {
"h": 250.633,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.29744,
"c": 0.12958,
"h": 283.3
},
"luminance": 0.02296
}Semantic roles & 50–950 ramp
primary
#291B6A
secondary
#8F9F42
accent
#E345C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E