#48258E#48258E
#48258E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.162 H 292.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #48258E |
|---|---|
| RGB | rgb(72, 37, 142) |
| HSL | hsl(260, 59%, 35%) |
| HSV | hsv(260, 74%, 56%) |
| CMYK | cmyk(49.3%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.72, 41.22, -52.22) |
| CIE-LCH | lch(25.72, 66.53, 308.29°) |
| OKLab | oklab(37.8% 0.0607 -0.1498) |
| OKLCH | oklch(37.8% 0.162 292.1) |
| XYZ | xyz(8.2152, 4.6536, 26.0513) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.65
Indigo Blue
#3A18B1
ΔE00 5.79
Indigo (survey)
#380282
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.81
Royal
#0C1793
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48258E #6B8E25
analogous
#25378E #48258E #7C258E
triadic
#48258E #8E4825 #258E48
tetradic
#48258E #8E2537 #6B8E25 #258E7C
square
#48258E #8E2537 #6B8E25 #258E7C
split-complementary
#48258E #8E7C25 #378E25
monochromatic
#170C2D #2F185D #48258E #6132BF #825AD4
Accessibility & contrast
On white
10.88
#48258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#48258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48258E
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48258E | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#324157
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #48258e; /* rgb */ color: rgb(72, 37, 142); /* oklch */ color: oklch(37.8% 0.162 292.1);
Tailwind
colors: {
custom: {
50: '#8263b0',
500: '#48258e',
950: '#000000',
},
}SCSS
$custom: #48258e; $custom-light: #8263b0; $custom-dark: #000000;
JSON
{
"hex": "#48258e",
"rgb": {
"r": 72,
"g": 37,
"b": 142
},
"hsl": {
"h": 260,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.37801,
"c": 0.16164,
"h": 292.1
},
"luminance": 0.04654
}Semantic roles & 50–950 ramp
primary
#48258E
secondary
#98B956
accent
#E246AE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80