#45209C#45209C
#45209C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.183 H 287.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #45209C |
|---|---|
| RGB | rgb(69, 32, 156) |
| HSL | hsl(258, 66%, 37%) |
| HSV | hsv(258, 79%, 61%) |
| CMYK | cmyk(55.8%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(25.86, 47.22, -60.64) |
| CIE-LCH | lch(25.86, 76.86, 307.91°) |
| OKLab | oklab(38.22% 0.0563 -0.1745) |
| OKLCH | oklch(38.22% 0.183 287.9) |
| XYZ | xyz(8.9697, 4.6981, 31.8802) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Ultramarine
#2000B1
ΔE00 5.67
Royal
#0C1793
ΔE00 5.94
Indigo (survey)
#380282
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45209C #779C20
analogous
#20399C #45209C #83209C
triadic
#45209C #9C4520 #209C45
tetradic
#45209C #9C2039 #779C20 #209C83
square
#45209C #9C2039 #779C20 #209C83
split-complementary
#45209C #9C8320 #399C20
monochromatic
#180B36 #2F1669 #45209C #5B2ACF #8159DD
Accessibility & contrast
On white
10.83
#45209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#45209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45209C
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45209C | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#20445E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #45209c; /* rgb */ color: rgb(69, 32, 156); /* oklch */ color: oklch(38.2% 0.183 287.9);
Tailwind
colors: {
custom: {
50: '#8361ba',
500: '#45209c',
950: '#000000',
},
}SCSS
$custom: #45209c; $custom-light: #8361ba; $custom-dark: #000000;
JSON
{
"hex": "#45209c",
"rgb": {
"r": 69,
"g": 32,
"b": 156
},
"hsl": {
"h": 257.903,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.38222,
"c": 0.18336,
"h": 287.9
},
"luminance": 0.04699
}Semantic roles & 50–950 ramp
primary
#45209C
secondary
#A1C157
accent
#E93FB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981