#48229E#48229E
#48229E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 288.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #48229E |
|---|---|
| RGB | rgb(72, 34, 158) |
| HSL | hsl(258, 65%, 38%) |
| HSV | hsv(258, 78%, 62%) |
| CMYK | cmyk(54.4%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(26.71, 47.26, -60.45) |
| CIE-LCH | lch(26.71, 76.73, 308.02°) |
| OKLab | oklab(38.95% 0.059 -0.1739) |
| OKLCH | oklch(38.95% 0.184 288.7) |
| XYZ | xyz(9.4143, 4.9899, 32.8082) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.43
Violet Blue
#510AC9
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 6.06
Indigo
#4B0082
ΔE00 6.36
Royal
#0C1793
ΔE00 6.50
Indigo (survey)
#380282
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48229E #789E22
analogous
#223A9E #48229E #86229E
triadic
#48229E #9E4822 #229E48
tetradic
#48229E #9E223A #789E22 #229E86
square
#48229E #9E223A #789E22 #229E86
split-complementary
#48229E #9E8622 #3A9E22
monochromatic
#1A0C39 #31176C #48229E #5F2DD0 #855EDC
Accessibility & contrast
On white
10.51
#48229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#48229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48229E
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48229E | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#26455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48229e; /* rgb */ color: rgb(72, 34, 158); /* oklch */ color: oklch(39.0% 0.184 288.7);
Tailwind
colors: {
custom: {
50: '#8562bc',
500: '#48229e',
950: '#000000',
},
}SCSS
$custom: #48229e; $custom-light: #8562bc; $custom-dark: #000000;
JSON
{
"hex": "#48229e",
"rgb": {
"r": 72,
"g": 34,
"b": 158
},
"hsl": {
"h": 258.387,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.3895,
"c": 0.18361,
"h": 288.7
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#48229E
secondary
#A2C15B
accent
#E840B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81