#41198F#41198F
#41198F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.175 H 289.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #41198F |
|---|---|
| RGB | rgb(65, 25, 143) |
| HSL | hsl(260, 70%, 33%) |
| HSV | hsv(260, 83%, 56%) |
| CMYK | cmyk(54.5%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(23.01, 46.18, -57.34) |
| CIE-LCH | lch(23.01, 73.62, 308.85°) |
| OKLab | oklab(35.74% 0.059 -0.1649) |
| OKLCH | oklch(35.74% 0.175 289.7) |
| XYZ | xyz(7.4841, 3.8019, 26.3208) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.78
Indigo
#4B0082
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.84
Royal
#0C1793
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41198F #678F19
analogous
#192C8F #41198F #7C198F
triadic
#41198F #8F4119 #198F41
tetradic
#41198F #8F192C #678F19 #198F7C
square
#41198F #8F192C #678F19 #198F7C
split-complementary
#41198F #8F7C19 #2C8F19
monochromatic
#120727 #29105B #41198F #5922C3 #7844DE
Accessibility & contrast
On white
11.93
#41198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#41198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41198F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41198F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#233C55
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #41198f; /* rgb */ color: rgb(65, 25, 143); /* oklch */ color: oklch(35.7% 0.175 289.7);
Tailwind
colors: {
custom: {
50: '#7f5cb1',
500: '#41198f',
950: '#000000',
},
}SCSS
$custom: #41198f; $custom-light: #7f5cb1; $custom-dark: #000000;
JSON
{
"hex": "#41198f",
"rgb": {
"r": 65,
"g": 25,
"b": 143
},
"hsl": {
"h": 260.339,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.3574,
"c": 0.17515,
"h": 289.7
},
"luminance": 0.03802
}Semantic roles & 50–950 ramp
primary
#41198F
secondary
#96BF44
accent
#ED3BB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980