#48219C#48219C
#48219C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.182 H 289.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #48219C |
|---|---|
| RGB | rgb(72, 33, 156) |
| HSL | hsl(259, 65%, 37%) |
| HSV | hsv(259, 79%, 61%) |
| CMYK | cmyk(53.8%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(26.35, 47.17, -59.82) |
| CIE-LCH | lch(26.35, 76.18, 308.26°) |
| OKLab | oklab(38.64% 0.0603 -0.172) |
| OKLCH | oklch(38.64% 0.182 289.3) |
| XYZ | xyz(9.2153, 4.8653, 31.8996) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Indigo
#4B0082
ΔE00 6.02
Ultramarine
#2000B1
ΔE00 6.07
Violet Blue
#510AC9
ΔE00 6.17
Indigo (survey)
#380282
ΔE00 6.23
Royal
#0C1793
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48219C #759C21
analogous
#21389C #48219C #85219C
triadic
#48219C #9C4821 #219C48
tetradic
#48219C #9C2138 #759C21 #219C85
square
#48219C #9C2138 #759C21 #219C85
split-complementary
#48219C #9C8521 #389C21
monochromatic
#190C37 #311669 #48219C #5F2CCF #845BDC
Accessibility & contrast
On white
10.64
#48219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#48219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48219C
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48219C | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#28445E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #48219c; /* rgb */ color: rgb(72, 33, 156); /* oklch */ color: oklch(38.6% 0.182 289.3);
Tailwind
colors: {
custom: {
50: '#8561ba',
500: '#48219c',
950: '#000000',
},
}SCSS
$custom: #48219c; $custom-light: #8561ba; $custom-dark: #000000;
JSON
{
"hex": "#48219c",
"rgb": {
"r": 72,
"g": 33,
"b": 156
},
"hsl": {
"h": 259.024,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.38641,
"c": 0.18229,
"h": 289.3
},
"luminance": 0.04866
}Semantic roles & 50–950 ramp
primary
#48219C
secondary
#A0C158
accent
#E840B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81