#48219D#48219D
#48219D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.183 H 289.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #48219D |
|---|---|
| RGB | rgb(72, 33, 157) |
| HSL | hsl(259, 65%, 37%) |
| HSV | hsv(259, 79%, 62%) |
| CMYK | cmyk(54.1%, 79%, 0%, 38.4%) |
| CIE-LAB | lab(26.45, 47.45, -60.27) |
| CIE-LCH | lch(26.45, 76.70, 308.21°) |
| OKLab | oklab(38.74% 0.06 -0.1733) |
| OKLCH | oklch(38.74% 0.183 289.1) |
| XYZ | xyz(9.3004, 4.8993, 32.3474) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.47
Ultramarine
#2000B1
ΔE00 6.00
Violet Blue
#510AC9
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.12
Indigo (survey)
#380282
ΔE00 6.32
Royal
#0C1793
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48219D #769D21
analogous
#21389D #48219D #86219D
triadic
#48219D #9D4821 #219D48
tetradic
#48219D #9D2138 #769D21 #219D86
square
#48219D #9D2138 #769D21 #219D86
split-complementary
#48219D #9D8621 #389D21
monochromatic
#1A0C38 #31166A #48219D #5F2CD0 #845CDD
Accessibility & contrast
On white
10.61
#48219D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#48219D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48219D
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48219D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48219D | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#27455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48219d; /* rgb */ color: rgb(72, 33, 157); /* oklch */ color: oklch(38.7% 0.183 289.1);
Tailwind
colors: {
custom: {
50: '#8561bb',
500: '#48219d',
950: '#000000',
},
}SCSS
$custom: #48219d; $custom-light: #8561bb; $custom-dark: #000000;
JSON
{
"hex": "#48219d",
"rgb": {
"r": 72,
"g": 33,
"b": 157
},
"hsl": {
"h": 258.871,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.38739,
"c": 0.18342,
"h": 289.1
},
"luminance": 0.049
}Semantic roles & 50–950 ramp
primary
#48219D
secondary
#A0C159
accent
#E840B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81