#45208F#45208F
#45208F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 291.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #45208F |
|---|---|
| RGB | rgb(69, 32, 143) |
| HSL | hsl(260, 63%, 34%) |
| HSV | hsv(260, 78%, 56%) |
| CMYK | cmyk(51.7%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(24.58, 43.54, -54.73) |
| CIE-LCH | lch(24.58, 69.94, 308.51°) |
| OKLab | oklab(36.94% 0.0602 -0.1572) |
| OKLCH | oklch(36.94% 0.168 291) |
| XYZ | xyz(7.9273, 4.2811, 26.3899) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 5.15
Royal
#0C1793
ΔE00 6.09
Ultramarine
#2000B1
ΔE00 6.88
Cobalt Blue
#030AA7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45208F #6A8F20
analogous
#20338F #45208F #7D208F
triadic
#45208F #8F4520 #208F45
tetradic
#45208F #8F2033 #6A8F20 #208F7D
square
#45208F #8F2033 #6A8F20 #208F7D
split-complementary
#45208F #8F7D20 #338F20
monochromatic
#150A2B #2D155D #45208F #5D2BC1 #7E51D8
Accessibility & contrast
On white
11.31
#45208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#45208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45208F
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45208F | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#2B3F56
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #45208f; /* rgb */ color: rgb(69, 32, 143); /* oklch */ color: oklch(36.9% 0.168 291.0);
Tailwind
colors: {
custom: {
50: '#8160b1',
500: '#45208f',
950: '#000000',
},
}SCSS
$custom: #45208f; $custom-light: #8160b1; $custom-dark: #000000;
JSON
{
"hex": "#45208f",
"rgb": {
"r": 69,
"g": 32,
"b": 143
},
"hsl": {
"h": 260,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36943,
"c": 0.16835,
"h": 291
},
"luminance": 0.04281
}Semantic roles & 50–950 ramp
primary
#45208F
secondary
#97BB4F
accent
#E641AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980