#41166E#41166E
#41166E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.141 H 300.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #41166E |
|---|---|
| RGB | rgb(65, 22, 110) |
| HSL | hsl(269, 67%, 26%) |
| HSV | hsv(269, 80%, 43%) |
| CMYK | cmyk(40.9%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(19.32, 38.54, -42.43) |
| CIE-LCH | lch(19.32, 57.32, 312.25°) |
| OKLab | oklab(32.19% 0.072 -0.1212) |
| OKLCH | oklch(32.19% 0.141 300.7) |
| XYZ | xyz(5.2807, 2.8234, 15.0156) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.48
Indigo
#4B0082
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 5.01
Dark Indigo
#1F0954
ΔE00 6.74
Midnight Blue
#191970
ΔE00 6.84
Dark Royal Blue
#02066F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41166E #436E16
analogous
#16176E #41166E #6D166E
triadic
#41166E #6E4116 #166E41
tetradic
#41166E #6E1617 #436E16 #166E6D
square
#41166E #6E1617 #436E16 #166E6D
split-complementary
#41166E #6E6D16 #176E16
monochromatic
#0F051A #230C3B #41166E #5F20A1 #7D2AD4
Accessibility & contrast
On white
13.42
#41166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#41166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41166E
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41166E | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#372D41
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #41166e; /* rgb */ color: rgb(65, 22, 110); /* oklch */ color: oklch(32.2% 0.141 300.7);
Tailwind
colors: {
custom: {
50: '#7b5898',
500: '#41166e',
950: '#000000',
},
}SCSS
$custom: #41166e; $custom-light: #7b5898; $custom-dark: #000000;
JSON
{
"hex": "#41166e",
"rgb": {
"r": 65,
"g": 22,
"b": 110
},
"hsl": {
"h": 269.318,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.32194,
"c": 0.14097,
"h": 300.7
},
"luminance": 0.02823
}Semantic roles & 50–950 ramp
primary
#41166E
secondary
#71A43C
accent
#EA3E96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E