#45188F#45188F
#45188F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.176 H 292.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #45188F |
|---|---|
| RGB | rgb(69, 24, 143) |
| HSL | hsl(263, 71%, 33%) |
| HSV | hsv(263, 83%, 56%) |
| CMYK | cmyk(51.7%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(23.34, 47.12, -56.76) |
| CIE-LCH | lch(23.34, 73.77, 309.69°) |
| OKLab | oklab(36.08% 0.0662 -0.1631) |
| OKLCH | oklch(36.08% 0.176 292.1) |
| XYZ | xyz(7.7374, 3.9014, 26.3266) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45188F #628F18
analogous
#18278F #45188F #80188F
triadic
#45188F #8F4518 #188F45
tetradic
#45188F #8F1827 #628F18 #188F80
square
#45188F #8F1827 #628F18 #188F80
split-complementary
#45188F #8F8018 #278F18
monochromatic
#120626 #2C0F5B #45188F #5E21C3 #7E42DF
Accessibility & contrast
On white
11.80
#45188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#45188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45188F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45188F | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#2C3B55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #45188f; /* rgb */ color: rgb(69, 24, 143); /* oklch */ color: oklch(36.1% 0.176 292.1);
Tailwind
colors: {
custom: {
50: '#825cb1',
500: '#45188f',
950: '#000000',
},
}SCSS
$custom: #45188f; $custom-light: #825cb1; $custom-dark: #000000;
JSON
{
"hex": "#45188f",
"rgb": {
"r": 69,
"g": 24,
"b": 143
},
"hsl": {
"h": 262.689,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.36082,
"c": 0.17601,
"h": 292.1
},
"luminance": 0.03902
}Semantic roles & 50–950 ramp
primary
#45188F
secondary
#91C043
accent
#EE3AAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980