#41218C#41218C
#41218C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.164 H 289.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #41218C |
|---|---|
| RGB | rgb(65, 33, 140) |
| HSL | hsl(258, 62%, 34%) |
| HSV | hsv(258, 76%, 55%) |
| CMYK | cmyk(53.6%, 76.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.01, 41.56, -53.81) |
| CIE-LCH | lch(24.01, 68.00, 307.68°) |
| OKLab | oklab(36.35% 0.0539 -0.1547) |
| OKLCH | oklch(36.35% 0.164 289.2) |
| XYZ | xyz(7.4561, 4.1046, 25.2053) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.99
Indigo
#4B0082
ΔE00 5.20
Indigo Blue
#3A18B1
ΔE00 5.48
Royal
#0C1793
ΔE00 5.67
Midnight Blue
#191970
ΔE00 6.82
Cobalt Blue
#030AA7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41218C #6C8C21
analogous
#21378C #41218C #77218C
triadic
#41218C #8C4121 #218C41
tetradic
#41218C #8C2137 #6C8C21 #218C77
square
#41218C #8C2137 #6C8C21 #218C77
split-complementary
#41218C #8C7721 #378C21
monochromatic
#130A29 #2A155A #41218C #582DBE #7951D6
Accessibility & contrast
On white
11.53
#41218C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#41218C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41218C
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41218C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41218C | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#253E55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #41218c; /* rgb */ color: rgb(65, 33, 140); /* oklch */ color: oklch(36.4% 0.164 289.2);
Tailwind
colors: {
custom: {
50: '#7e60af',
500: '#41218c',
950: '#000000',
},
}SCSS
$custom: #41218c; $custom-light: #7e60af; $custom-dark: #000000;
JSON
{
"hex": "#41218c",
"rgb": {
"r": 65,
"g": 33,
"b": 140
},
"hsl": {
"h": 257.944,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.36353,
"c": 0.16381,
"h": 289.2
},
"luminance": 0.04105
}Semantic roles & 50–950 ramp
primary
#41218C
secondary
#9AB94F
accent
#E543B4
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F