#41298E#41298E
#41298E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.157 H 287.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #41298E |
|---|---|
| RGB | rgb(65, 41, 142) |
| HSL | hsl(254, 55%, 36%) |
| HSV | hsv(254, 71%, 56%) |
| CMYK | cmyk(54.2%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.75, 37.82, -52.21) |
| CIE-LCH | lch(25.75, 64.47, 305.92°) |
| OKLab | oklab(37.64% 0.0464 -0.15) |
| OKLCH | oklch(37.64% 0.157 287.2) |
| XYZ | xyz(7.8540, 4.6623, 26.0720) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 5.92
Royal
#0C1793
ΔE00 6.35
Blueberry
#464196
ΔE00 6.77
Indigo (survey)
#380282
ΔE00 6.81
Indigo
#4B0082
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41298E #768E29
analogous
#29448E #41298E #73298E
triadic
#41298E #8E4129 #298E41
tetradic
#41298E #8E2944 #768E29 #298E73
square
#41298E #8E2944 #768E29 #298E73
split-complementary
#41298E #8E7329 #448E29
monochromatic
#160E2F #2B1B5F #41298E #5737BD #7B60D1
Accessibility & contrast
On white
10.87
#41298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#41298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41298E
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41298E | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#224358
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #41298e; /* rgb */ color: rgb(65, 41, 142); /* oklch */ color: oklch(37.6% 0.157 287.2);
Tailwind
colors: {
custom: {
50: '#7e65b0',
500: '#41298e',
950: '#000000',
},
}SCSS
$custom: #41298e; $custom-light: #7e65b0; $custom-dark: #000000;
JSON
{
"hex": "#41298e",
"rgb": {
"r": 65,
"g": 41,
"b": 142
},
"hsl": {
"h": 254.257,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.37641,
"c": 0.15702,
"h": 287.2
},
"luminance": 0.04663
}Semantic roles & 50–950 ramp
primary
#41298E
secondary
#A1B75C
accent
#DF49BB
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80