#45209B#45209B
#45209B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.182 H 288.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #45209B |
|---|---|
| RGB | rgb(69, 32, 155) |
| HSL | hsl(258, 66%, 37%) |
| HSV | hsv(258, 79%, 61%) |
| CMYK | cmyk(55.5%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(25.76, 46.94, -60.19) |
| CIE-LCH | lch(25.76, 76.33, 307.95°) |
| OKLab | oklab(38.12% 0.0566 -0.1732) |
| OKLCH | oklch(38.12% 0.182 288.1) |
| XYZ | xyz(8.8854, 4.6643, 31.4361) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
Ultramarine
#2000B1
ΔE00 5.75
Indigo (survey)
#380282
ΔE00 5.89
Indigo
#4B0082
ΔE00 5.91
Royal
#0C1793
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45209B #769B20
analogous
#20399B #45209B #83209B
triadic
#45209B #9B4520 #209B45
tetradic
#45209B #9B2039 #769B20 #209B83
square
#45209B #9B2039 #769B20 #209B83
split-complementary
#45209B #9B8320 #399B20
monochromatic
#180B36 #2E1668 #45209B #5C2ACE #8059DD
Accessibility & contrast
On white
10.86
#45209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#45209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45209B
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45209B | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#21445D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #45209b; /* rgb */ color: rgb(69, 32, 155); /* oklch */ color: oklch(38.1% 0.182 288.1);
Tailwind
colors: {
custom: {
50: '#8361ba',
500: '#45209b',
950: '#000000',
},
}SCSS
$custom: #45209b; $custom-light: #8361ba; $custom-dark: #000000;
JSON
{
"hex": "#45209b",
"rgb": {
"r": 69,
"g": 32,
"b": 155
},
"hsl": {
"h": 258.049,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.38121,
"c": 0.18222,
"h": 288.1
},
"luminance": 0.04665
}Semantic roles & 50–950 ramp
primary
#45209B
secondary
#A1C156
accent
#E93FB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981