#41178F#41178F
#41178F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.177 H 289.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #41178F |
|---|---|
| RGB | rgb(65, 23, 143) |
| HSL | hsl(261, 72%, 33%) |
| HSV | hsv(261, 84%, 56%) |
| CMYK | cmyk(54.5%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(22.72, 47.01, -57.81) |
| CIE-LCH | lch(22.72, 74.51, 309.12°) |
| OKLab | oklab(35.54% 0.0603 -0.1662) |
| OKLCH | oklch(35.54% 0.177 289.9) |
| XYZ | xyz(7.4429, 3.7194, 26.3070) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.52
Indigo
#4B0082
ΔE00 3.89
Indigo Blue
#3A18B1
ΔE00 4.86
Royal
#0C1793
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41178F #658F17
analogous
#17298F #41178F #7D178F
triadic
#41178F #8F4117 #178F41
tetradic
#41178F #8F1729 #658F17 #178F7D
square
#41178F #8F1729 #658F17 #178F7D
split-complementary
#41178F #8F7D17 #298F17
monochromatic
#110626 #290F5A #41178F #591FC4 #7840E0
Accessibility & contrast
On white
12.04
#41178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#41178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41178F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41178F | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#233B54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #41178f; /* rgb */ color: rgb(65, 23, 143); /* oklch */ color: oklch(35.5% 0.177 289.9);
Tailwind
colors: {
custom: {
50: '#7f5bb1',
500: '#41178f',
950: '#000000',
},
}SCSS
$custom: #41178f; $custom-light: #7f5bb1; $custom-dark: #000000;
JSON
{
"hex": "#41178f",
"rgb": {
"r": 65,
"g": 23,
"b": 143
},
"hsl": {
"h": 261,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.35543,
"c": 0.17685,
"h": 289.9
},
"luminance": 0.0372
}Semantic roles & 50–950 ramp
primary
#41178F
secondary
#94C141
accent
#EF39AF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980