#29148B#29148B
#29148B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.178 H 278.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #29148B |
|---|---|
| RGB | rgb(41, 20, 139) |
| HSL | hsl(251, 75%, 31%) |
| HSV | hsv(251, 86%, 55%) |
| CMYK | cmyk(70.5%, 85.6%, 0%, 45.5%) |
| CIE-LAB | lab(19.37, 44.65, -60.93) |
| CIE-LCH | lch(19.37, 75.53, 306.23°) |
| OKLab | oklab(32.52% 0.0246 -0.176) |
| OKLCH | oklch(32.52% 0.178 278) |
| XYZ | xyz(5.8233, 2.8353, 24.6615) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.45
Indigo (survey)
#380282
ΔE00 3.44
Darkblue
#00008B
ΔE00 3.74
Cobalt Blue
#030AA7
ΔE00 4.15
Navy
#000080
ΔE00 4.38
Royal Blue (survey)
#0504AA
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29148B #768B14
analogous
#143A8B #29148B #64148B
triadic
#29148B #8B2914 #148B29
tetradic
#29148B #8B143A #768B14 #148B64
square
#29148B #8B143A #768B14 #148B64
split-complementary
#29148B #8B6414 #3A8B14
monochromatic
#090520 #190C55 #29148B #391CC1 #5537E2
Accessibility & contrast
On white
13.40
#29148B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#29148B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29148B
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29148B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29148B | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #29148b; /* rgb */ color: rgb(41, 20, 139); /* oklch */ color: oklch(32.5% 0.178 278.0);
Tailwind
colors: {
custom: {
50: '#7357ae',
500: '#29148b',
950: '#000000',
},
}SCSS
$custom: #29148b; $custom-light: #7357ae; $custom-dark: #000000;
JSON
{
"hex": "#29148b",
"rgb": {
"r": 41,
"g": 20,
"b": 139
},
"hsl": {
"h": 250.588,
"s": 74.843,
"l": 31.176
},
"oklch": {
"l": 0.32515,
"c": 0.17769,
"h": 278
},
"luminance": 0.02836
}Semantic roles & 50–950 ramp
primary
#29148B
secondary
#A8BF3C
accent
#F136D0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090310
muted
#7B787F