#48219B#48219B
#48219B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.181 H 289.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #48219B |
|---|---|
| RGB | rgb(72, 33, 155) |
| HSL | hsl(259, 65%, 37%) |
| HSV | hsv(259, 79%, 61%) |
| CMYK | cmyk(53.5%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.25, 46.89, -59.37) |
| CIE-LCH | lch(26.25, 75.65, 308.30°) |
| OKLab | oklab(38.54% 0.0606 -0.1707) |
| OKLCH | oklch(38.54% 0.181 289.5) |
| XYZ | xyz(9.1310, 4.8316, 31.4555) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.72
Indigo
#4B0082
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.15
Violet Blue
#510AC9
ΔE00 6.30
Royal
#0C1793
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48219B #749B21
analogous
#21379B #48219B #85219B
triadic
#48219B #9B4821 #219B48
tetradic
#48219B #9B2137 #749B21 #219B85
square
#48219B #9B2137 #749B21 #219B85
split-complementary
#48219B #9B8521 #379B21
monochromatic
#190C36 #311669 #48219B #5F2CCD #845ADC
Accessibility & contrast
On white
10.68
#48219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#48219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48219B
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48219B | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#28445D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #48219b; /* rgb */ color: rgb(72, 33, 155); /* oklch */ color: oklch(38.5% 0.181 289.5);
Tailwind
colors: {
custom: {
50: '#8461ba',
500: '#48219b',
950: '#000000',
},
}SCSS
$custom: #48219b; $custom-light: #8461ba; $custom-dark: #000000;
JSON
{
"hex": "#48219b",
"rgb": {
"r": 72,
"g": 33,
"b": 155
},
"hsl": {
"h": 259.18,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38543,
"c": 0.18114,
"h": 289.5
},
"luminance": 0.04832
}Semantic roles & 50–950 ramp
primary
#48219B
secondary
#9FC058
accent
#E840B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981