#45209E#45209E
#45209E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.186 H 287.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #45209E |
|---|---|
| RGB | rgb(69, 32, 158) |
| HSL | hsl(258, 66%, 37%) |
| HSV | hsv(258, 80%, 62%) |
| CMYK | cmyk(56.3%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(26.06, 47.79, -61.53) |
| CIE-LCH | lch(26.06, 77.91, 307.84°) |
| OKLab | oklab(38.42% 0.0557 -0.1771) |
| OKLCH | oklch(38.42% 0.186 287.5) |
| XYZ | xyz(9.1405, 4.7664, 32.7795) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.07
Ultramarine
#2000B1
ΔE00 5.54
Violet Blue
#510AC9
ΔE00 5.94
Royal
#0C1793
ΔE00 5.98
Cobalt Blue
#030AA7
ΔE00 6.00
Indigo (survey)
#380282
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45209E #799E20
analogous
#203A9E #45209E #84209E
triadic
#45209E #9E4520 #209E45
tetradic
#45209E #9E203A #799E20 #209E84
square
#45209E #9E203A #799E20 #209E84
split-complementary
#45209E #9E8420 #3A9E20
monochromatic
#190B38 #2F166B #45209E #5B2AD1 #815BDE
Accessibility & contrast
On white
10.75
#45209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#45209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45209E
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45209E | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#1D455F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45209e; /* rgb */ color: rgb(69, 32, 158); /* oklch */ color: oklch(38.4% 0.186 287.5);
Tailwind
colors: {
custom: {
50: '#8361bc',
500: '#45209e',
950: '#000000',
},
}SCSS
$custom: #45209e; $custom-light: #8361bc; $custom-dark: #000000;
JSON
{
"hex": "#45209e",
"rgb": {
"r": 69,
"g": 32,
"b": 158
},
"hsl": {
"h": 257.619,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.38423,
"c": 0.18565,
"h": 287.5
},
"luminance": 0.04767
}Semantic roles & 50–950 ramp
primary
#45209E
secondary
#A3C258
accent
#E93FB7
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981