#41188F#41188F
#41188F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.176 H 289.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #41188F |
|---|---|
| RGB | rgb(65, 24, 143) |
| HSL | hsl(261, 71%, 33%) |
| HSV | hsv(261, 83%, 56%) |
| CMYK | cmyk(54.5%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(22.86, 46.60, -57.57) |
| CIE-LCH | lch(22.86, 74.07, 308.99°) |
| OKLab | oklab(35.64% 0.0597 -0.1656) |
| OKLCH | oklch(35.64% 0.176 289.8) |
| XYZ | xyz(7.4631, 3.7599, 26.3138) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.65
Indigo
#4B0082
ΔE00 4.00
Indigo Blue
#3A18B1
ΔE00 4.85
Royal
#0C1793
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41188F #668F18
analogous
#182B8F #41188F #7C188F
triadic
#41188F #8F4118 #188F41
tetradic
#41188F #8F182B #668F18 #188F7C
square
#41188F #8F182B #668F18 #188F7C
split-complementary
#41188F #8F7C18 #2B8F18
monochromatic
#110626 #290F5B #41188F #5921C3 #7842DF
Accessibility & contrast
On white
11.99
#41188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#41188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41188F
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41188F | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 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: #41188f; /* rgb */ color: rgb(65, 24, 143); /* oklch */ color: oklch(35.6% 0.176 289.8);
Tailwind
colors: {
custom: {
50: '#7f5bb1',
500: '#41188f',
950: '#000000',
},
}SCSS
$custom: #41188f; $custom-light: #7f5bb1; $custom-dark: #000000;
JSON
{
"hex": "#41188f",
"rgb": {
"r": 65,
"g": 24,
"b": 143
},
"hsl": {
"h": 260.672,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.3564,
"c": 0.17602,
"h": 289.8
},
"luminance": 0.0376
}Semantic roles & 50–950 ramp
primary
#41188F
secondary
#95C043
accent
#EE3AB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980