#41288F#41288F
#41288F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.159 H 287.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #41288F |
|---|---|
| RGB | rgb(65, 40, 143) |
| HSL | hsl(255, 56%, 36%) |
| HSV | hsv(255, 72%, 56%) |
| CMYK | cmyk(54.5%, 72%, 0%, 43.9%) |
| CIE-LAB | lab(25.64, 38.70, -53.02) |
| CIE-LCH | lch(25.64, 65.64, 306.12°) |
| OKLab | oklab(37.59% 0.0471 -0.1524) |
| OKLCH | oklch(37.59% 0.159 287.2) |
| XYZ | xyz(7.8952, 4.6242, 26.4578) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 6.11
Royal
#0C1793
ΔE00 6.18
Indigo (survey)
#380282
ΔE00 6.60
Indigo
#4B0082
ΔE00 6.79
Blueberry
#464196
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41288F #768F28
analogous
#28428F #41288F #74288F
triadic
#41288F #8F4128 #288F41
tetradic
#41288F #8F2842 #768F28 #288F74
square
#41288F #8F2842 #768F28 #288F74
split-complementary
#41288F #8F7428 #428F28
monochromatic
#160D2F #2B1B5F #41288F #5735BF #7B5FD2
Accessibility & contrast
On white
10.91
#41288F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#41288F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41288F
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41288F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41288F | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#224358
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #41288f; /* rgb */ color: rgb(65, 40, 143); /* oklch */ color: oklch(37.6% 0.159 287.2);
Tailwind
colors: {
custom: {
50: '#7e64b1',
500: '#41288f',
950: '#000000',
},
}SCSS
$custom: #41288f; $custom-light: #7e64b1; $custom-dark: #000000;
JSON
{
"hex": "#41288f",
"rgb": {
"r": 65,
"g": 40,
"b": 143
},
"hsl": {
"h": 254.563,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.37587,
"c": 0.15949,
"h": 287.2
},
"luminance": 0.04625
}Semantic roles & 50–950 ramp
primary
#41288F
secondary
#A1B85B
accent
#E048BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80