#291B6F#291B6F
#291B6F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.136 H 282.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #291B6F |
|---|---|
| RGB | rgb(41, 27, 111) |
| HSL | hsl(250, 61%, 27%) |
| HSV | hsv(250, 76%, 44%) |
| CMYK | cmyk(63.1%, 75.7%, 0%, 56.5%) |
| CIE-LAB | lab(17.47, 32.13, -46.22) |
| CIE-LCH | lch(17.47, 56.29, 304.81°) |
| OKLab | oklab(30.26% 0.0287 -0.1332) |
| OKLCH | oklch(30.26% 0.136 282.2) |
| XYZ | xyz(4.1747, 2.4027, 15.2796) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Dark Royal Blue
#02066F
ΔE00 5.29
Darkblue (survey)
#030764
ΔE00 5.36
Dark Indigo
#1F0954
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.77
Deep Blue
#040273
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291B6F #616F1B
analogous
#1B376F #291B6F #531B6F
triadic
#291B6F #6F291B #1B6F29
tetradic
#291B6F #6F1B37 #616F1B #1B6F53
square
#291B6F #6F1B37 #616F1B #1B6F53
split-complementary
#291B6F #6F531B #376F1B
monochromatic
#090619 #170F3E #291B6F #3B27A0 #5036CE
Accessibility & contrast
On white
14.18
#291B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#291B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291B6F
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291B6F | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #291b6f; /* rgb */ color: rgb(41, 27, 111); /* oklch */ color: oklch(30.3% 0.136 282.2);
Tailwind
colors: {
custom: {
50: '#6c5999',
500: '#291b6f',
950: '#000000',
},
}SCSS
$custom: #291b6f; $custom-light: #6c5999; $custom-dark: #000000;
JSON
{
"hex": "#291b6f",
"rgb": {
"r": 41,
"g": 27,
"b": 111
},
"hsl": {
"h": 250,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.30257,
"c": 0.13628,
"h": 282.2
},
"luminance": 0.02403
}Semantic roles & 50–950 ramp
primary
#291B6F
secondary
#94A442
accent
#E444C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E