#41218F#41218F
#41218F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.167 H 288.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #41218F |
|---|---|
| RGB | rgb(65, 33, 143) |
| HSL | hsl(257, 63%, 35%) |
| HSV | hsv(257, 77%, 56%) |
| CMYK | cmyk(54.5%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(24.30, 42.44, -55.20) |
| CIE-LCH | lch(24.30, 69.63, 307.55°) |
| OKLab | oklab(36.64% 0.0531 -0.1587) |
| OKLCH | oklch(36.64% 0.167 288.5) |
| XYZ | xyz(7.6803, 4.1943, 26.3862) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.02
Indigo (survey)
#380282
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.36
Royal
#0C1793
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41218F #6F8F21
analogous
#21388F #41218F #78218F
triadic
#41218F #8F4121 #218F41
tetradic
#41218F #8F2138 #6F8F21 #218F78
square
#41218F #8F2138 #6F8F21 #218F78
split-complementary
#41218F #8F7821 #388F21
monochromatic
#140A2C #2A165D #41218F #582CC1 #7A53D7
Accessibility & contrast
On white
11.42
#41218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#41218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41218F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41218F | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#224057
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #41218f; /* rgb */ color: rgb(65, 33, 143); /* oklch */ color: oklch(36.6% 0.167 288.5);
Tailwind
colors: {
custom: {
50: '#7f60b1',
500: '#41218f',
950: '#000000',
},
}SCSS
$custom: #41218f; $custom-light: #7f60b1; $custom-dark: #000000;
JSON
{
"hex": "#41218f",
"rgb": {
"r": 65,
"g": 33,
"b": 143
},
"hsl": {
"h": 257.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.36644,
"c": 0.1674,
"h": 288.5
},
"luminance": 0.04195
}Semantic roles & 50–950 ramp
primary
#41218F
secondary
#9CBB51
accent
#E642B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980