#45219B#45219B
#45219B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.181 H 288.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #45219B |
|---|---|
| RGB | rgb(69, 33, 155) |
| HSL | hsl(258, 65%, 37%) |
| HSV | hsv(258, 79%, 61%) |
| CMYK | cmyk(55.5%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(25.92, 46.47, -59.93) |
| CIE-LCH | lch(25.92, 75.83, 307.79°) |
| OKLab | oklab(38.24% 0.0559 -0.1724) |
| OKLCH | oklch(38.24% 0.181 288) |
| XYZ | xyz(8.9127, 4.7190, 31.4452) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Ultramarine
#2000B1
ΔE00 5.87
Royal
#0C1793
ΔE00 5.97
Indigo (survey)
#380282
ΔE00 6.04
Indigo
#4B0082
ΔE00 6.05
Cobalt Blue
#030AA7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45219B #779B21
analogous
#213A9B #45219B #82219B
triadic
#45219B #9B4521 #219B45
tetradic
#45219B #9B213A #779B21 #219B82
square
#45219B #9B213A #779B21 #219B82
split-complementary
#45219B #9B8221 #3A9B21
monochromatic
#180C36 #2F1669 #45219B #5B2CCD #815ADC
Accessibility & contrast
On white
10.80
#45219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#45219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45219B
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45219B | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 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: #45219b; /* rgb */ color: rgb(69, 33, 155); /* oklch */ color: oklch(38.2% 0.181 288.0);
Tailwind
colors: {
custom: {
50: '#8361ba',
500: '#45219b',
950: '#000000',
},
}SCSS
$custom: #45219b; $custom-light: #8361ba; $custom-dark: #000000;
JSON
{
"hex": "#45219b",
"rgb": {
"r": 69,
"g": 33,
"b": 155
},
"hsl": {
"h": 257.705,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38235,
"c": 0.18127,
"h": 288
},
"luminance": 0.04719
}Semantic roles & 50–950 ramp
primary
#45219B
secondary
#A1C058
accent
#E840B6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981