#29166B#29166B
#29166B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.137 H 284.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #29166B |
|---|---|
| RGB | rgb(41, 22, 107) |
| HSL | hsl(253, 66%, 25%) |
| HSV | hsv(253, 79%, 42%) |
| CMYK | cmyk(61.7%, 79.4%, 0%, 58%) |
| CIE-LAB | lab(16.04, 33.69, -45.98) |
| CIE-LCH | lch(16.04, 57.00, 306.24°) |
| OKLab | oklab(29.12% 0.0337 -0.1325) |
| OKLCH | oklch(29.12% 0.137 284.3) |
| XYZ | xyz(3.8544, 2.1065, 14.1106) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Dark Indigo
#1F0954
ΔE00 4.43
Darkblue (survey)
#030764
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 4.67
Deep Blue
#040273
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29166B #586B16
analogous
#162D6B #29166B #53166B
triadic
#29166B #6B2916 #166B29
tetradic
#29166B #6B162D #586B16 #166B53
square
#29166B #6B162D #586B16 #166B53
split-complementary
#29166B #6B5316 #2D6B16
monochromatic
#0A0519 #160C38 #29166B #3C209E #502BD1
Accessibility & contrast
On white
14.77
#29166B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#29166B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29166B
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29166B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29166B | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#032E3F
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #29166b; /* rgb */ color: rgb(41, 22, 107); /* oklch */ color: oklch(29.1% 0.137 284.3);
Tailwind
colors: {
custom: {
50: '#6c5696',
500: '#29166b',
950: '#000000',
},
}SCSS
$custom: #29166b; $custom-light: #6c5696; $custom-dark: #000000;
JSON
{
"hex": "#29166b",
"rgb": {
"r": 41,
"g": 22,
"b": 107
},
"hsl": {
"h": 253.412,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.29116,
"c": 0.13669,
"h": 284.3
},
"luminance": 0.02107
}Semantic roles & 50–950 ramp
primary
#29166B
secondary
#8BA13B
accent
#E93FC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E