#48226F#48226F
#48226F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.128 H 302.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #48226F |
|---|---|
| RGB | rgb(72, 34, 111) |
| HSL | hsl(270, 53%, 28%) |
| HSV | hsv(270, 69%, 44%) |
| CMYK | cmyk(35.1%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(22.55, 34.18, -37.79) |
| CIE-LCH | lch(22.55, 50.95, 312.12°) |
| OKLab | oklab(34.72% 0.0695 -0.1074) |
| OKLCH | oklch(34.72% 0.128 302.9) |
| XYZ | xyz(6.1131, 3.6695, 15.4221) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.40
Indigo
#4B0082
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 7.41
Midnight Blue
#191970
ΔE00 8.23
Plum Purple
#4E0550
ΔE00 8.47
Rebeccapurple
#663399
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48226F #496F22
analogous
#22236F #48226F #6E226F
triadic
#48226F #6F4822 #226F48
tetradic
#48226F #6F2223 #496F22 #226F6E
square
#48226F #6F2223 #496F22 #226F6E
split-complementary
#48226F #6F6E22 #236F22
monochromatic
#0F0717 #2A1440 #48226F #66309E #8545C6
Accessibility & contrast
On white
12.11
#48226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#48226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48226F
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48226F | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#04366D
Tritanopia (blue-blind)
#403345
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #48226f; /* rgb */ color: rgb(72, 34, 111); /* oklch */ color: oklch(34.7% 0.128 302.9);
Tailwind
colors: {
custom: {
50: '#7f6099',
500: '#48226f',
950: '#000000',
},
}SCSS
$custom: #48226f; $custom-light: #7f6099; $custom-dark: #000000;
JSON
{
"hex": "#48226f",
"rgb": {
"r": 72,
"g": 34,
"b": 111
},
"hsl": {
"h": 269.61,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.34723,
"c": 0.12791,
"h": 302.9
},
"luminance": 0.03669
}Semantic roles & 50–950 ramp
primary
#48226F
secondary
#77A24A
accent
#DD4B95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E