#41186F#41186F
#41186F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 300.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #41186F |
|---|---|
| RGB | rgb(65, 24, 111) |
| HSL | hsl(268, 64%, 26%) |
| HSV | hsv(268, 78%, 44%) |
| CMYK | cmyk(41.4%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(19.74, 37.87, -42.40) |
| CIE-LCH | lch(19.74, 56.85, 311.77°) |
| OKLab | oklab(32.52% 0.0698 -0.1211) |
| OKLCH | oklch(32.52% 0.14 300) |
| XYZ | xyz(5.3751, 2.9247, 15.3172) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.83
Indigo
#4B0082
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 5.10
Midnight Blue
#191970
ΔE00 6.69
Dark Indigo
#1F0954
ΔE00 6.88
Dark Royal Blue
#02066F
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41186F #466F18
analogous
#181B6F #41186F #6D186F
triadic
#41186F #6F4118 #186F41
tetradic
#41186F #6F181B #466F18 #186F6D
square
#41186F #6F181B #466F18 #186F6D
split-complementary
#41186F #6F6D18 #1B6F18
monochromatic
#0F0519 #240D3D #41186F #5E23A1 #7C2FD2
Accessibility & contrast
On white
13.25
#41186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#41186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41186F
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41186F | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#362E42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #41186f; /* rgb */ color: rgb(65, 24, 111); /* oklch */ color: oklch(32.5% 0.140 300.0);
Tailwind
colors: {
custom: {
50: '#7b5999',
500: '#41186f',
950: '#000000',
},
}SCSS
$custom: #41186f; $custom-light: #7b5999; $custom-dark: #000000;
JSON
{
"hex": "#41186f",
"rgb": {
"r": 65,
"g": 24,
"b": 111
},
"hsl": {
"h": 268.276,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.32515,
"c": 0.1398,
"h": 300
},
"luminance": 0.02925
}Semantic roles & 50–950 ramp
primary
#41186F
secondary
#74A53E
accent
#E74099
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E