#41218E#41218E
#41218E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.166 H 288.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #41218E |
|---|---|
| RGB | rgb(65, 33, 142) |
| HSL | hsl(258, 62%, 34%) |
| HSV | hsv(258, 77%, 56%) |
| CMYK | cmyk(54.2%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(24.21, 42.15, -54.74) |
| CIE-LCH | lch(24.21, 69.09, 307.60°) |
| OKLab | oklab(36.55% 0.0534 -0.1574) |
| OKLCH | oklch(36.55% 0.166 288.7) |
| XYZ | xyz(7.6049, 4.1642, 25.9890) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 5.17
Indigo
#4B0082
ΔE00 5.30
Royal
#0C1793
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41218E #6E8E21
analogous
#21378E #41218E #78218E
triadic
#41218E #8E4121 #218E41
tetradic
#41218E #8E2137 #6E8E21 #218E78
square
#41218E #8E2137 #6E8E21 #218E78
split-complementary
#41218E #8E7821 #378E21
monochromatic
#140A2B #2A155C #41218E #582DC0 #7952D7
Accessibility & contrast
On white
11.46
#41218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#41218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41218E
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41218E | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#233F56
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #41218e; /* rgb */ color: rgb(65, 33, 142); /* oklch */ color: oklch(36.5% 0.166 288.7);
Tailwind
colors: {
custom: {
50: '#7e60b0',
500: '#41218e',
950: '#000000',
},
}SCSS
$custom: #41218e; $custom-light: #7e60b0; $custom-dark: #000000;
JSON
{
"hex": "#41218e",
"rgb": {
"r": 65,
"g": 33,
"b": 142
},
"hsl": {
"h": 257.615,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.36547,
"c": 0.1662,
"h": 288.7
},
"luminance": 0.04165
}Semantic roles & 50–950 ramp
primary
#41218E
secondary
#9BBA50
accent
#E542B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980