#291A6C#291A6C
#291A6C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.133 H 283.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #291A6C |
|---|---|
| RGB | rgb(41, 26, 108) |
| HSL | hsl(251, 61%, 26%) |
| HSV | hsv(251, 76%, 42%) |
| CMYK | cmyk(62%, 75.9%, 0%, 57.6%) |
| CIE-LAB | lab(16.95, 31.73, -45.12) |
| CIE-LCH | lch(16.95, 55.16, 305.11°) |
| OKLab | oklab(29.8% 0.0302 -0.13) |
| OKLCH | oklch(29.8% 0.133 283.1) |
| XYZ | xyz(3.9898, 2.2927, 14.4167) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.35
Dark Indigo
#1F0954
ΔE00 5.06
Darkblue (survey)
#030764
ΔE00 5.19
Dark Royal Blue
#02066F
ΔE00 5.28
Deep Blue
#040273
ΔE00 5.82
Indigo (survey)
#380282
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A6C #5D6C1A
analogous
#1A346C #291A6C #521A6C
triadic
#291A6C #6C291A #1A6C29
tetradic
#291A6C #6C1A34 #5D6C1A #1A6C52
square
#291A6C #6C1A34 #5D6C1A #1A6C52
split-complementary
#291A6C #6C521A #346C1A
monochromatic
#090619 #160E3B #291A6C #3C269D #4F33CE
Accessibility & contrast
On white
14.40
#291A6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#291A6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A6C
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A6C | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#013041
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #291a6c; /* rgb */ color: rgb(41, 26, 108); /* oklch */ color: oklch(29.8% 0.133 283.1);
Tailwind
colors: {
custom: {
50: '#6c5897',
500: '#291a6c',
950: '#000000',
},
}SCSS
$custom: #291a6c; $custom-light: #6c5897; $custom-dark: #000000;
JSON
{
"hex": "#291a6c",
"rgb": {
"r": 41,
"g": 26,
"b": 108
},
"hsl": {
"h": 250.976,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.29795,
"c": 0.13346,
"h": 283.1
},
"luminance": 0.02293
}Semantic roles & 50–950 ramp
primary
#291A6C
secondary
#90A141
accent
#E443C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E