#41186C#41186C
#41186C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.136 H 301.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #41186C |
|---|---|
| RGB | rgb(65, 24, 108) |
| HSL | hsl(269, 64%, 26%) |
| HSV | hsv(269, 78%, 42%) |
| CMYK | cmyk(39.8%, 77.8%, 0%, 57.6%) |
| CIE-LAB | lab(19.47, 37.06, -40.88) |
| CIE-LCH | lch(19.47, 55.18, 312.20°) |
| OKLab | oklab(32.24% 0.0706 -0.1167) |
| OKLCH | oklch(32.24% 0.136 301.2) |
| XYZ | xyz(5.2127, 2.8598, 14.4618) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.82
Indigo
#4B0082
ΔE00 4.95
Indigo (survey)
#380282
ΔE00 5.59
Dark Indigo
#1F0954
ΔE00 6.72
Midnight Blue
#191970
ΔE00 6.94
Plum Purple
#4E0550
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41186C #436C18
analogous
#18196C #41186C #6B186C
triadic
#41186C #6C4118 #186C41
tetradic
#41186C #6C1819 #436C18 #186C6B
square
#41186C #6C1819 #436C18 #186C6B
split-complementary
#41186C #6C6B18 #196C18
monochromatic
#0F0619 #230D3A #41186C #5F239E #7D2ED0
Accessibility & contrast
On white
13.36
#41186C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#41186C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41186C
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41186C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41186C | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#372D41
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #41186c; /* rgb */ color: rgb(65, 24, 108); /* oklch */ color: oklch(32.2% 0.136 301.2);
Tailwind
colors: {
custom: {
50: '#7a5997',
500: '#41186c',
950: '#000000',
},
}SCSS
$custom: #41186c; $custom-light: #7a5997; $custom-dark: #000000;
JSON
{
"hex": "#41186c",
"rgb": {
"r": 65,
"g": 24,
"b": 108
},
"hsl": {
"h": 269.286,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.32244,
"c": 0.13635,
"h": 301.2
},
"luminance": 0.0286
}Semantic roles & 50–950 ramp
primary
#41186C
secondary
#71A23E
accent
#E74196
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E