#41168F#41168F
#41168F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.178 H 290.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #41168F |
|---|---|
| RGB | rgb(65, 22, 143) |
| HSL | hsl(261, 73%, 32%) |
| HSV | hsv(261, 85%, 56%) |
| CMYK | cmyk(54.5%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(22.59, 47.41, -58.03) |
| CIE-LCH | lch(22.59, 74.93, 309.25°) |
| OKLab | oklab(35.45% 0.0609 -0.1669) |
| OKLCH | oklch(35.45% 0.178 290.1) |
| XYZ | xyz(7.4234, 3.6805, 26.3005) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.39
Indigo
#4B0082
ΔE00 3.78
Indigo Blue
#3A18B1
ΔE00 4.88
Royal
#0C1793
ΔE00 5.29
Ultramarine
#2000B1
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41168F #648F16
analogous
#16288F #41168F #7D168F
triadic
#41168F #8F4116 #168F41
tetradic
#41168F #8F1628 #648F16 #168F7D
square
#41168F #8F1628 #648F16 #168F7D
split-complementary
#41168F #8F7D16 #288F16
monochromatic
#110625 #290E5A #41168F #591EC4 #783EE1
Accessibility & contrast
On white
12.10
#41168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#41168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41168F
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41168F | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 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: #41168f; /* rgb */ color: rgb(65, 22, 143); /* oklch */ color: oklch(35.4% 0.178 290.1);
Tailwind
colors: {
custom: {
50: '#7f5bb1',
500: '#41168f',
950: '#000000',
},
}SCSS
$custom: #41168f; $custom-light: #7f5bb1; $custom-dark: #000000;
JSON
{
"hex": "#41168f",
"rgb": {
"r": 65,
"g": 22,
"b": 143
},
"hsl": {
"h": 261.322,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.3545,
"c": 0.17766,
"h": 290.1
},
"luminance": 0.03681
}Semantic roles & 50–950 ramp
primary
#41168F
secondary
#93C13F
accent
#F038AF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980