#41238E#41238E
#41238E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.164 H 288.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #41238E |
|---|---|
| RGB | rgb(65, 35, 142) |
| HSL | hsl(257, 60%, 35%) |
| HSV | hsv(257, 75%, 56%) |
| CMYK | cmyk(54.2%, 75.4%, 0%, 44.3%) |
| CIE-LAB | lab(24.57, 41.12, -54.14) |
| CIE-LCH | lch(24.57, 67.98, 307.21°) |
| OKLab | oklab(36.8% 0.0517 -0.1556) |
| OKLCH | oklch(36.8% 0.164 288.4) |
| XYZ | xyz(7.6621, 4.2785, 26.0080) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.30
Indigo (survey)
#380282
ΔE00 5.47
Indigo
#4B0082
ΔE00 5.68
Royal
#0C1793
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41238E #708E23
analogous
#233B8E #41238E #76238E
triadic
#41238E #8E4123 #238E41
tetradic
#41238E #8E233B #708E23 #238E76
square
#41238E #8E233B #708E23 #238E76
split-complementary
#41238E #8E7623 #3B8E23
monochromatic
#140B2C #2B175D #41238E #572FBF #7A56D5
Accessibility & contrast
On white
11.32
#41238E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#41238E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41238E
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41238E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41238E | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#234056
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #41238e; /* rgb */ color: rgb(65, 35, 142); /* oklch */ color: oklch(36.8% 0.164 288.4);
Tailwind
colors: {
custom: {
50: '#7e61b0',
500: '#41238e',
950: '#000000',
},
}SCSS
$custom: #41238e; $custom-light: #7e61b0; $custom-dark: #000000;
JSON
{
"hex": "#41238e",
"rgb": {
"r": 65,
"g": 35,
"b": 142
},
"hsl": {
"h": 256.822,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.36804,
"c": 0.16402,
"h": 288.4
},
"luminance": 0.04279
}Semantic roles & 50–950 ramp
primary
#41238E
secondary
#9DB953
accent
#E444B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980