#41238C#41238C
#41238C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.162 H 288.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #41238C |
|---|---|
| RGB | rgb(65, 35, 140) |
| HSL | hsl(257, 60%, 34%) |
| HSV | hsv(257, 75%, 55%) |
| CMYK | cmyk(53.6%, 75%, 0%, 45.1%) |
| CIE-LAB | lab(24.38, 40.52, -53.21) |
| CIE-LCH | lch(24.38, 66.88, 307.29°) |
| OKLab | oklab(36.61% 0.0522 -0.1529) |
| OKLCH | oklch(36.61% 0.162 288.9) |
| XYZ | xyz(7.5132, 4.2190, 25.2243) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.41
Indigo
#4B0082
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 5.61
Royal
#0C1793
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.86
Cobalt Blue
#030AA7
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41238C #6E8C23
analogous
#233A8C #41238C #76238C
triadic
#41238C #8C4123 #238C41
tetradic
#41238C #8C233A #6E8C23 #238C76
square
#41238C #8C233A #6E8C23 #238C76
split-complementary
#41238C #8C7623 #3A8C23
monochromatic
#140B2A #2A175B #41238C #582FBD #7955D4
Accessibility & contrast
On white
11.39
#41238C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#41238C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41238C
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41238C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41238C | 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)
#003C8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#253F55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #41238c; /* rgb */ color: rgb(65, 35, 140); /* oklch */ color: oklch(36.6% 0.162 288.9);
Tailwind
colors: {
custom: {
50: '#7e61af',
500: '#41238c',
950: '#000000',
},
}SCSS
$custom: #41238c; $custom-light: #7e61af; $custom-dark: #000000;
JSON
{
"hex": "#41238c",
"rgb": {
"r": 65,
"g": 35,
"b": 140
},
"hsl": {
"h": 257.143,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.36612,
"c": 0.16158,
"h": 288.9
},
"luminance": 0.04219
}Semantic roles & 50–950 ramp
primary
#41238C
secondary
#9BB852
accent
#E345B6
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F