#48219E#48219E
#48219E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.185 H 288.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #48219E |
|---|---|
| RGB | rgb(72, 33, 158) |
| HSL | hsl(259, 65%, 37%) |
| HSV | hsv(259, 79%, 62%) |
| CMYK | cmyk(54.4%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(26.54, 47.73, -60.72) |
| CIE-LCH | lch(26.54, 77.23, 308.17°) |
| OKLab | oklab(38.84% 0.0597 -0.1746) |
| OKLCH | oklch(38.84% 0.185 288.9) |
| XYZ | xyz(9.3861, 4.9336, 32.7988) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.36
Violet Blue
#510AC9
ΔE00 5.90
Ultramarine
#2000B1
ΔE00 5.94
Indigo
#4B0082
ΔE00 6.22
Indigo (survey)
#380282
ΔE00 6.41
Royal
#0C1793
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48219E #779E21
analogous
#21399E #48219E #87219E
triadic
#48219E #9E4821 #219E48
tetradic
#48219E #9E2139 #779E21 #219E87
square
#48219E #9E2139 #779E21 #219E87
split-complementary
#48219E #9E8721 #399E21
monochromatic
#1A0C39 #31166B #48219E #5F2CD1 #855CDD
Accessibility & contrast
On white
10.57
#48219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#48219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48219E
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48219E | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#26455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48219e; /* rgb */ color: rgb(72, 33, 158); /* oklch */ color: oklch(38.8% 0.185 288.9);
Tailwind
colors: {
custom: {
50: '#8562bc',
500: '#48219e',
950: '#000000',
},
}SCSS
$custom: #48219e; $custom-light: #8562bc; $custom-dark: #000000;
JSON
{
"hex": "#48219e",
"rgb": {
"r": 72,
"g": 33,
"b": 158
},
"hsl": {
"h": 258.72,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.38838,
"c": 0.18456,
"h": 288.9
},
"luminance": 0.04934
}Semantic roles & 50–950 ramp
primary
#48219E
secondary
#A1C159
accent
#E83FB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81