#48319E#48319E
#48319E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.167 H 286.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #48319E |
|---|---|
| RGB | rgb(72, 49, 158) |
| HSL | hsl(253, 53%, 41%) |
| HSV | hsv(253, 69%, 62%) |
| CMYK | cmyk(54.4%, 69%, 0%, 38%) |
| CIE-LAB | lab(29.52, 39.37, -55.84) |
| CIE-LCH | lch(29.52, 68.32, 305.19°) |
| OKLab | oklab(40.94% 0.0463 -0.1604) |
| OKLCH | oklch(40.94% 0.167 286.1) |
| XYZ | xyz(9.9405, 6.0424, 32.9836) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.51
Indigo Blue
#3A18B1
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 5.86
Rebeccapurple
#663399
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48319E #879E31
analogous
#31509E #48319E #7F319E
triadic
#48319E #9E4831 #319E48
tetradic
#48319E #9E3150 #879E31 #319E7F
square
#48319E #9E3150 #879E31 #319E7F
split-complementary
#48319E #9E7F31 #509E31
monochromatic
#1D1441 #33236F #48319E #6146C6 #8975D4
Accessibility & contrast
On white
9.51
#48319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#48319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48319E
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48319E | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#244D63
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #48319e; /* rgb */ color: rgb(72, 49, 158); /* oklch */ color: oklch(40.9% 0.167 286.1);
Tailwind
colors: {
custom: {
50: '#846bbc',
500: '#48319e',
950: '#000000',
},
}SCSS
$custom: #48319e; $custom-light: #846bbc; $custom-dark: #000000;
JSON
{
"hex": "#48319e",
"rgb": {
"r": 72,
"g": 49,
"b": 158
},
"hsl": {
"h": 252.661,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.40943,
"c": 0.16701,
"h": 286.1
},
"luminance": 0.06043
}Semantic roles & 50–950 ramp
primary
#48319E
secondary
#ACBC6E
accent
#DC4CBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81