#41288C#41288C
#41288C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.156 H 287.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #41288C |
|---|---|
| RGB | rgb(65, 40, 140) |
| HSL | hsl(255, 56%, 35%) |
| HSV | hsv(255, 71%, 55%) |
| CMYK | cmyk(53.6%, 71.4%, 0%, 45.1%) |
| CIE-LAB | lab(25.37, 37.78, -51.60) |
| CIE-LCH | lch(25.37, 63.95, 306.21°) |
| OKLab | oklab(37.31% 0.0477 -0.1482) |
| OKLCH | oklch(37.31% 0.156 287.8) |
| XYZ | xyz(7.6710, 4.5345, 25.2769) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.09
Royal
#0C1793
ΔE00 6.33
Indigo (survey)
#380282
ΔE00 6.54
Indigo
#4B0082
ΔE00 6.70
Blueberry
#464196
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41288C #738C28
analogous
#28418C #41288C #73288C
triadic
#41288C #8C4128 #288C41
tetradic
#41288C #8C2841 #738C28 #288C73
square
#41288C #8C2841 #738C28 #288C73
split-complementary
#41288C #8C7328 #418C28
monochromatic
#150D2D #2B1A5C #41288C #5736BC #7A5ED1
Accessibility & contrast
On white
11.01
#41288C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#41288C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41288C
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41288C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41288C | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#244257
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #41288c; /* rgb */ color: rgb(65, 40, 140); /* oklch */ color: oklch(37.3% 0.156 287.8);
Tailwind
colors: {
custom: {
50: '#7e64ae',
500: '#41288c',
950: '#000000',
},
}SCSS
$custom: #41288c; $custom-light: #7e64ae; $custom-dark: #000000;
JSON
{
"hex": "#41288c",
"rgb": {
"r": 65,
"g": 40,
"b": 140
},
"hsl": {
"h": 255,
"s": 55.556,
"l": 35.294
},
"oklch": {
"l": 0.3731,
"c": 0.1557,
"h": 287.8
},
"luminance": 0.04535
}Semantic roles & 50–950 ramp
primary
#41288C
secondary
#9FB65A
accent
#DF49B9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F