#45198E#45198E
#45198E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.174 H 292.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #45198E |
|---|---|
| RGB | rgb(69, 25, 142) |
| HSL | hsl(263, 70%, 33%) |
| HSV | hsv(263, 82%, 56%) |
| CMYK | cmyk(51.4%, 82.4%, 0%, 44.3%) |
| CIE-LAB | lab(23.38, 46.44, -56.08) |
| CIE-LCH | lch(23.38, 72.81, 309.63°) |
| OKLab | oklab(36.08% 0.0659 -0.1611) |
| OKLCH | oklch(36.08% 0.174 292.2) |
| XYZ | xyz(7.6830, 3.9132, 25.9364) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 5.18
Royal
#0C1793
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45198E #628E19
analogous
#19288E #45198E #7F198E
triadic
#45198E #8E4519 #198E45
tetradic
#45198E #8E1928 #628E19 #198E7F
square
#45198E #8E1928 #628E19 #198E7F
split-complementary
#45198E #8E7F19 #288E19
monochromatic
#120726 #2C105A #45198E #5E22C2 #7E43DE
Accessibility & contrast
On white
11.78
#45198E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#45198E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45198E
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45198E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45198E | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#2C3B54
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #45198e; /* rgb */ color: rgb(69, 25, 142); /* oklch */ color: oklch(36.1% 0.174 292.2);
Tailwind
colors: {
custom: {
50: '#815cb0',
500: '#45198e',
950: '#000000',
},
}SCSS
$custom: #45198e; $custom-light: #815cb0; $custom-dark: #000000;
JSON
{
"hex": "#45198e",
"rgb": {
"r": 69,
"g": 25,
"b": 142
},
"hsl": {
"h": 262.564,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.36079,
"c": 0.17403,
"h": 292.2
},
"luminance": 0.03913
}Semantic roles & 50–950 ramp
primary
#45198E
secondary
#91BF44
accent
#ED3BAA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980