#45198F#45198F
#45198F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.175 H 292.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #45198F |
|---|---|
| RGB | rgb(69, 25, 143) |
| HSL | hsl(262, 70%, 33%) |
| HSV | hsv(262, 83%, 56%) |
| CMYK | cmyk(51.7%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(23.48, 46.71, -56.53) |
| CIE-LCH | lch(23.48, 73.33, 309.56°) |
| OKLab | oklab(36.18% 0.0655 -0.1624) |
| OKLCH | oklch(36.18% 0.175 292) |
| XYZ | xyz(7.7584, 3.9433, 26.3336) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 3.99
Indigo Blue
#3A18B1
ΔE00 5.02
Royal
#0C1793
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45198F #638F19
analogous
#19288F #45198F #80198F
triadic
#45198F #8F4519 #198F45
tetradic
#45198F #8F1928 #638F19 #198F80
square
#45198F #8F1928 #638F19 #198F80
split-complementary
#45198F #8F8019 #288F19
monochromatic
#130727 #2C105B #45198F #5E22C3 #7E44DE
Accessibility & contrast
On white
11.74
#45198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#45198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45198F
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45198F | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#2C3C55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #45198f; /* rgb */ color: rgb(69, 25, 143); /* oklch */ color: oklch(36.2% 0.175 292.0);
Tailwind
colors: {
custom: {
50: '#815cb1',
500: '#45198f',
950: '#000000',
},
}SCSS
$custom: #45198f; $custom-light: #815cb1; $custom-dark: #000000;
JSON
{
"hex": "#45198f",
"rgb": {
"r": 69,
"g": 25,
"b": 143
},
"hsl": {
"h": 262.373,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.36179,
"c": 0.17513,
"h": 292
},
"luminance": 0.03944
}Semantic roles & 50–950 ramp
primary
#45198F
secondary
#92BF44
accent
#ED3BAB
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980