#45219C#45219C
#45219C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.182 H 287.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #45219C |
|---|---|
| RGB | rgb(69, 33, 156) |
| HSL | hsl(258, 65%, 37%) |
| HSV | hsv(258, 79%, 61%) |
| CMYK | cmyk(55.8%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(26.02, 46.76, -60.37) |
| CIE-LCH | lch(26.02, 76.36, 307.76°) |
| OKLab | oklab(38.33% 0.0556 -0.1737) |
| OKLCH | oklch(38.33% 0.182 287.7) |
| XYZ | xyz(8.9971, 4.7528, 31.8893) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.38
Ultramarine
#2000B1
ΔE00 5.80
Royal
#0C1793
ΔE00 5.98
Indigo (survey)
#380282
ΔE00 6.12
Indigo
#4B0082
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45219C #789C21
analogous
#213B9C #45219C #83219C
triadic
#45219C #9C4521 #219C45
tetradic
#45219C #9C213B #789C21 #219C83
square
#45219C #9C213B #789C21 #219C83
split-complementary
#45219C #9C8321 #3B9C21
monochromatic
#180C37 #2F1669 #45219C #5B2CCF #815BDC
Accessibility & contrast
On white
10.77
#45219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#45219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45219C
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45219C | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#20445E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45219c; /* rgb */ color: rgb(69, 33, 156); /* oklch */ color: oklch(38.3% 0.182 287.7);
Tailwind
colors: {
custom: {
50: '#8361ba',
500: '#45219c',
950: '#000000',
},
}SCSS
$custom: #45219c; $custom-light: #8361ba; $custom-dark: #000000;
JSON
{
"hex": "#45219c",
"rgb": {
"r": 69,
"g": 33,
"b": 156
},
"hsl": {
"h": 257.561,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.38334,
"c": 0.18242,
"h": 287.7
},
"luminance": 0.04753
}Semantic roles & 50–950 ramp
primary
#45219C
secondary
#A2C158
accent
#E840B7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981