#29167F#29167F
#29167F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.162 H 279.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #29167F |
|---|---|
| RGB | rgb(41, 22, 127) |
| HSL | hsl(251, 70%, 29%) |
| HSV | hsv(251, 83%, 50%) |
| CMYK | cmyk(67.7%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(18.26, 40.04, -55.19) |
| CIE-LCH | lch(18.26, 68.19, 305.96°) |
| OKLab | oklab(31.33% 0.0276 -0.1593) |
| OKLCH | oklch(31.33% 0.162 279.8) |
| XYZ | xyz(5.0309, 2.5771, 20.3069) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.37
Indigo (survey)
#380282
ΔE00 3.58
Royal
#0C1793
ΔE00 3.60
Darkblue
#00008B
ΔE00 4.44
Navy
#000080
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29167F #6C7F16
analogous
#16387F #29167F #5E167F
triadic
#29167F #7F2916 #167F29
tetradic
#29167F #7F1638 #6C7F16 #167F5E
square
#29167F #7F1638 #6C7F16 #167F5E
split-complementary
#29167F #7F5E16 #387F16
monochromatic
#08051A #180D4B #29167F #3A1FB3 #5234DC
Accessibility & contrast
On white
13.86
#29167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#29167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29167F
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29167F | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #29167f; /* rgb */ color: rgb(41, 22, 127); /* oklch */ color: oklch(31.3% 0.162 279.8);
Tailwind
colors: {
custom: {
50: '#7057a5',
500: '#29167f',
950: '#000000',
},
}SCSS
$custom: #29167f; $custom-light: #7057a5; $custom-dark: #000000;
JSON
{
"hex": "#29167f",
"rgb": {
"r": 41,
"g": 22,
"b": 127
},
"hsl": {
"h": 250.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31334,
"c": 0.16172,
"h": 279.8
},
"luminance": 0.02578
}Semantic roles & 50–950 ramp
primary
#29167F
secondary
#9EB43D
accent
#ED3BCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F