#41218D#41218D
#41218D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.165 H 289.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #41218D |
|---|---|
| RGB | rgb(65, 33, 141) |
| HSL | hsl(258, 62%, 34%) |
| HSV | hsv(258, 77%, 55%) |
| CMYK | cmyk(53.9%, 76.6%, 0%, 44.7%) |
| CIE-LAB | lab(24.11, 41.86, -54.28) |
| CIE-LCH | lch(24.11, 68.54, 307.64°) |
| OKLab | oklab(36.45% 0.0537 -0.156) |
| OKLCH | oklch(36.45% 0.165 289) |
| XYZ | xyz(7.5301, 4.1343, 25.5954) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 5.32
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.77
Midnight Blue
#191970
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41218D #6D8D21
analogous
#21378D #41218D #77218D
triadic
#41218D #8D4121 #218D41
tetradic
#41218D #8D2137 #6D8D21 #218D77
square
#41218D #8D2137 #6D8D21 #218D77
split-complementary
#41218D #8D7721 #378D21
monochromatic
#130A2A #2A155B #41218D #582DBF #7952D6
Accessibility & contrast
On white
11.49
#41218D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#41218D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41218D
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41218D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41218D | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#243F55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #41218d; /* rgb */ color: rgb(65, 33, 141); /* oklch */ color: oklch(36.4% 0.165 289.0);
Tailwind
colors: {
custom: {
50: '#7e60af',
500: '#41218d',
950: '#000000',
},
}SCSS
$custom: #41218d; $custom-light: #7e60af; $custom-dark: #000000;
JSON
{
"hex": "#41218d",
"rgb": {
"r": 65,
"g": 33,
"b": 141
},
"hsl": {
"h": 257.778,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.3645,
"c": 0.165,
"h": 289
},
"luminance": 0.04135
}Semantic roles & 50–950 ramp
primary
#41218D
secondary
#9BBA50
accent
#E543B5
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F