#41238F#41238F
#41238F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.165 H 288.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #41238F |
|---|---|
| RGB | rgb(65, 35, 143) |
| HSL | hsl(257, 61%, 35%) |
| HSV | hsv(257, 76%, 56%) |
| CMYK | cmyk(54.5%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.67, 41.41, -54.61) |
| CIE-LCH | lch(24.67, 68.53, 307.18°) |
| OKLab | oklab(36.9% 0.0515 -0.157) |
| OKLCH | oklch(36.9% 0.165 288.2) |
| XYZ | xyz(7.7375, 4.3087, 26.4052) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.51
Royal
#0C1793
ΔE00 5.67
Indigo
#4B0082
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 6.81
Ultramarine
#2000B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41238F #718F23
analogous
#233B8F #41238F #77238F
triadic
#41238F #8F4123 #238F41
tetradic
#41238F #8F233B #718F23 #238F77
square
#41238F #8F233B #718F23 #238F77
split-complementary
#41238F #8F7723 #3B8F23
monochromatic
#140B2D #2B175E #41238F #572FC0 #7A57D6
Accessibility & contrast
On white
11.28
#41238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#41238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41238F
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41238F | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#224057
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #41238f; /* rgb */ color: rgb(65, 35, 143); /* oklch */ color: oklch(36.9% 0.165 288.2);
Tailwind
colors: {
custom: {
50: '#7e61b1',
500: '#41238f',
950: '#000000',
},
}SCSS
$custom: #41238f; $custom-light: #7e61b1; $custom-dark: #000000;
JSON
{
"hex": "#41238f",
"rgb": {
"r": 65,
"g": 35,
"b": 143
},
"hsl": {
"h": 256.667,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.369,
"c": 0.16523,
"h": 288.2
},
"luminance": 0.04309
}Semantic roles & 50–950 ramp
primary
#41238F
secondary
#9EBA54
accent
#E444B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980