#41236C#41236C
#41236C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.121 H 298.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #41236C |
|---|---|
| RGB | rgb(65, 35, 108) |
| HSL | hsl(265, 51%, 28%) |
| HSV | hsv(265, 68%, 42%) |
| CMYK | cmyk(39.8%, 67.6%, 0%, 57.6%) |
| CIE-LAB | lab(21.61, 31.13, -37.41) |
| CIE-LCH | lch(21.61, 48.67, 309.76°) |
| OKLab | oklab(33.77% 0.058 -0.1065) |
| OKLCH | oklch(33.77% 0.121 298.6) |
| XYZ | xyz(5.4871, 3.4085, 14.5533) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.32
Indigo
#4B0082
ΔE00 7.06
Midnight Blue
#191970
ΔE00 7.12
Indigo (survey)
#380282
ΔE00 7.55
Dark Indigo
#1F0954
ΔE00 7.83
Darkslateblue
#483D8B
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41236C #4E6C23
analogous
#23296C #41236C #65236C
triadic
#41236C #6C4123 #236C41
tetradic
#41236C #6C2329 #4E6C23 #236C65
square
#41236C #6C2329 #4E6C23 #236C65
split-complementary
#41236C #6C6523 #296C23
monochromatic
#0E0717 #25143E #41236C #5D329A #7A46C3
Accessibility & contrast
On white
12.49
#41236C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#41236C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41236C
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41236C | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#373344
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #41236c; /* rgb */ color: rgb(65, 35, 108); /* oklch */ color: oklch(33.8% 0.121 298.6);
Tailwind
colors: {
custom: {
50: '#796097',
500: '#41236c',
950: '#000000',
},
}SCSS
$custom: #41236c; $custom-light: #796097; $custom-dark: #000000;
JSON
{
"hex": "#41236c",
"rgb": {
"r": 65,
"g": 35,
"b": 108
},
"hsl": {
"h": 264.658,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.33771,
"c": 0.12129,
"h": 298.6
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#41236C
secondary
#7D9F4B
accent
#DB4DA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E