#29176C#29176C
#29176C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.137 H 283.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #29176C |
|---|---|
| RGB | rgb(41, 23, 108) |
| HSL | hsl(253, 65%, 26%) |
| HSV | hsv(253, 79%, 42%) |
| CMYK | cmyk(62%, 78.7%, 0%, 57.6%) |
| CIE-LAB | lab(16.34, 33.46, -46.13) |
| CIE-LCH | lch(16.34, 56.99, 305.95°) |
| OKLab | oklab(29.36% 0.0326 -0.1329) |
| OKLCH | oklch(29.36% 0.137 283.8) |
| XYZ | xyz(3.9268, 2.1667, 14.3957) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.51
Dark Indigo
#1F0954
ΔE00 4.67
Darkblue (survey)
#030764
ΔE00 4.72
Dark Royal Blue
#02066F
ΔE00 4.75
Deep Blue
#040273
ΔE00 5.23
Indigo (survey)
#380282
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29176C #5A6C17
analogous
#172F6C #29176C #53176C
triadic
#29176C #6C2917 #176C29
tetradic
#29176C #6C172F #5A6C17 #176C53
square
#29176C #6C172F #5A6C17 #176C53
split-complementary
#29176C #6C5317 #2F6C17
monochromatic
#0A0519 #160C3A #29176C #3C229E #4F2CD1
Accessibility & contrast
On white
14.65
#29176C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#29176C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29176C
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29176C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29176C | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#012F40
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #29176c; /* rgb */ color: rgb(41, 23, 108); /* oklch */ color: oklch(29.4% 0.137 283.8);
Tailwind
colors: {
custom: {
50: '#6c5697',
500: '#29176c',
950: '#000000',
},
}SCSS
$custom: #29176c; $custom-light: #6c5697; $custom-dark: #000000;
JSON
{
"hex": "#29176c",
"rgb": {
"r": 41,
"g": 23,
"b": 108
},
"hsl": {
"h": 252.706,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.2936,
"c": 0.13688,
"h": 283.8
},
"luminance": 0.02167
}Semantic roles & 50–950 ramp
primary
#29176C
secondary
#8DA23D
accent
#E840C4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E