#41228E#41228E
#41228E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.165 H 288.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #41228E |
|---|---|
| RGB | rgb(65, 34, 142) |
| HSL | hsl(257, 61%, 35%) |
| HSV | hsv(257, 76%, 56%) |
| CMYK | cmyk(54.2%, 76.1%, 0%, 44.3%) |
| CIE-LAB | lab(24.39, 41.64, -54.44) |
| CIE-LCH | lch(24.39, 68.54, 307.41°) |
| OKLab | oklab(36.67% 0.0526 -0.1565) |
| OKLCH | oklch(36.67% 0.165 288.6) |
| XYZ | xyz(7.6331, 4.2205, 25.9984) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.23
Indigo (survey)
#380282
ΔE00 5.26
Indigo
#4B0082
ΔE00 5.49
Royal
#0C1793
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 6.78
Ultramarine
#2000B1
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41228E #6F8E22
analogous
#22398E #41228E #77228E
triadic
#41228E #8E4122 #228E41
tetradic
#41228E #8E2239 #6F8E22 #228E77
square
#41228E #8E2239 #6F8E22 #228E77
split-complementary
#41228E #8E7722 #398E22
monochromatic
#140A2B #2A165D #41228E #582EBF #7A54D6
Accessibility & contrast
On white
11.39
#41228E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#41228E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41228E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41228E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41228E | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#234056
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #41228e; /* rgb */ color: rgb(65, 34, 142); /* oklch */ color: oklch(36.7% 0.165 288.6);
Tailwind
colors: {
custom: {
50: '#7e61b0',
500: '#41228e',
950: '#000000',
},
}SCSS
$custom: #41228e; $custom-light: #7e61b0; $custom-dark: #000000;
JSON
{
"hex": "#41228e",
"rgb": {
"r": 65,
"g": 34,
"b": 142
},
"hsl": {
"h": 257.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.36674,
"c": 0.16512,
"h": 288.6
},
"luminance": 0.04221
}Semantic roles & 50–950 ramp
primary
#41228E
secondary
#9CBA52
accent
#E443B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980