#48218F#48218F
#48218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.167 H 292.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #48218F |
|---|---|
| RGB | rgb(72, 33, 143) |
| HSL | hsl(261, 63%, 35%) |
| HSV | hsv(261, 77%, 56%) |
| CMYK | cmyk(49.7%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(25.10, 43.53, -53.86) |
| CIE-LCH | lch(25.10, 69.25, 308.94°) |
| OKLab | oklab(37.39% 0.0641 -0.1546) |
| OKLCH | oklch(37.39% 0.167 292.5) |
| XYZ | xyz(8.1729, 4.4483, 26.4093) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.38
Rebeccapurple
#663399
ΔE00 6.59
Royal
#0C1793
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48218F #688F21
analogous
#21318F #48218F #7F218F
triadic
#48218F #8F4821 #218F48
tetradic
#48218F #8F2131 #688F21 #218F7F
square
#48218F #8F2131 #688F21 #218F7F
split-complementary
#48218F #8F7F21 #318F21
monochromatic
#160A2C #2F165D #48218F #612CC1 #8253D7
Accessibility & contrast
On white
11.11
#48218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#48218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48218F
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48218F | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#313F57
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #48218f; /* rgb */ color: rgb(72, 33, 143); /* oklch */ color: oklch(37.4% 0.167 292.5);
Tailwind
colors: {
custom: {
50: '#8361b1',
500: '#48218f',
950: '#000000',
},
}SCSS
$custom: #48218f; $custom-light: #8361b1; $custom-dark: #000000;
JSON
{
"hex": "#48218f",
"rgb": {
"r": 72,
"g": 33,
"b": 143
},
"hsl": {
"h": 261.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.3739,
"c": 0.16732,
"h": 292.5
},
"luminance": 0.04449
}Semantic roles & 50–950 ramp
primary
#48218F
secondary
#95BB51
accent
#E642AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980