#48229D#48229D
#48229D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 289.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #48229D |
|---|---|
| RGB | rgb(72, 34, 157) |
| HSL | hsl(259, 64%, 37%) |
| HSV | hsv(259, 78%, 62%) |
| CMYK | cmyk(54.1%, 78.3%, 0%, 38.4%) |
| CIE-LAB | lab(26.61, 46.98, -60.00) |
| CIE-LCH | lch(26.61, 76.21, 308.06°) |
| OKLab | oklab(38.85% 0.0593 -0.1726) |
| OKLCH | oklch(38.85% 0.182 289) |
| XYZ | xyz(9.3285, 4.9556, 32.3567) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.54
Violet Blue
#510AC9
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.12
Indigo
#4B0082
ΔE00 6.26
Indigo (survey)
#380282
ΔE00 6.46
Royal
#0C1793
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48229D #779D22
analogous
#22399D #48229D #86229D
triadic
#48229D #9D4822 #229D48
tetradic
#48229D #9D2239 #779D22 #229D86
square
#48229D #9D2239 #779D22 #229D86
split-complementary
#48229D #9D8622 #399D22
monochromatic
#1A0C38 #31176B #48229D #5F2DCF #855DDC
Accessibility & contrast
On white
10.55
#48229D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#48229D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48229D
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48229D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48229D | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#27455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48229d; /* rgb */ color: rgb(72, 34, 157); /* oklch */ color: oklch(38.9% 0.182 289.0);
Tailwind
colors: {
custom: {
50: '#8562bb',
500: '#48229d',
950: '#000000',
},
}SCSS
$custom: #48229d; $custom-light: #8562bb; $custom-dark: #000000;
JSON
{
"hex": "#48229d",
"rgb": {
"r": 72,
"g": 34,
"b": 157
},
"hsl": {
"h": 258.537,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.38852,
"c": 0.18245,
"h": 289
},
"luminance": 0.04956
}Semantic roles & 50–950 ramp
primary
#48229D
secondary
#A1C15A
accent
#E740B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81