#48219F#48219F
#48219F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.186 H 288.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #48219F |
|---|---|
| RGB | rgb(72, 33, 159) |
| HSL | hsl(259, 66%, 38%) |
| HSV | hsv(259, 79%, 62%) |
| CMYK | cmyk(54.7%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.64, 48.01, -61.16) |
| CIE-LCH | lch(26.64, 77.75, 308.13°) |
| OKLab | oklab(38.94% 0.0594 -0.1759) |
| OKLCH | oklch(38.94% 0.186 288.6) |
| XYZ | xyz(9.4725, 4.9682, 33.2540) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.24
Violet Blue
#510AC9
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 5.88
Indigo
#4B0082
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.44
Royal
#0C1793
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48219F #789F21
analogous
#21399F #48219F #87219F
triadic
#48219F #9F4821 #219F48
tetradic
#48219F #9F2139 #789F21 #219F87
square
#48219F #9F2139 #789F21 #219F87
split-complementary
#48219F #9F8721 #399F21
monochromatic
#1A0C3A #31166C #48219F #5F2CD2 #855DDD
Accessibility & contrast
On white
10.53
#48219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#48219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48219F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48219F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#254560
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48219f; /* rgb */ color: rgb(72, 33, 159); /* oklch */ color: oklch(38.9% 0.186 288.6);
Tailwind
colors: {
custom: {
50: '#8562bd',
500: '#48219f',
950: '#000000',
},
}SCSS
$custom: #48219f; $custom-light: #8562bd; $custom-dark: #000000;
JSON
{
"hex": "#48219f",
"rgb": {
"r": 72,
"g": 33,
"b": 159
},
"hsl": {
"h": 258.571,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38937,
"c": 0.1857,
"h": 288.6
},
"luminance": 0.04969
}Semantic roles & 50–950 ramp
primary
#48219F
secondary
#A2C25A
accent
#E93FB4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81