#41228F#41228F
#41228F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.166 H 288.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #41228F |
|---|---|
| RGB | rgb(65, 34, 143) |
| HSL | hsl(257, 62%, 35%) |
| HSV | hsv(257, 76%, 56%) |
| CMYK | cmyk(54.5%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.48, 41.93, -54.91) |
| CIE-LCH | lch(24.48, 69.09, 307.37°) |
| OKLab | oklab(36.77% 0.0523 -0.1579) |
| OKLCH | oklch(36.77% 0.166 288.3) |
| XYZ | xyz(7.7085, 4.2507, 26.3956) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.08
Indigo (survey)
#380282
ΔE00 5.31
Indigo
#4B0082
ΔE00 5.54
Royal
#0C1793
ΔE00 5.59
Cobalt Blue
#030AA7
ΔE00 6.69
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41228F #708F22
analogous
#223A8F #41228F #78228F
triadic
#41228F #8F4122 #228F41
tetradic
#41228F #8F223A #708F22 #228F78
square
#41228F #8F223A #708F22 #228F78
split-complementary
#41228F #8F7822 #3A8F22
monochromatic
#140A2C #2B165E #41228F #572EC0 #7A55D7
Accessibility & contrast
On white
11.35
#41228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#41228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41228F
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41228F | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 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: #41228f; /* rgb */ color: rgb(65, 34, 143); /* oklch */ color: oklch(36.8% 0.166 288.3);
Tailwind
colors: {
custom: {
50: '#7f61b1',
500: '#41228f',
950: '#000000',
},
}SCSS
$custom: #41228f; $custom-light: #7f61b1; $custom-dark: #000000;
JSON
{
"hex": "#41228f",
"rgb": {
"r": 65,
"g": 34,
"b": 143
},
"hsl": {
"h": 257.064,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.36771,
"c": 0.16632,
"h": 288.3
},
"luminance": 0.04251
}Semantic roles & 50–950 ramp
primary
#41228F
secondary
#9DBA52
accent
#E543B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980