#48238F#48238F
#48238F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.165 H 292.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #48238F |
|---|---|
| RGB | rgb(72, 35, 143) |
| HSL | hsl(261, 61%, 35%) |
| HSV | hsv(261, 76%, 56%) |
| CMYK | cmyk(49.7%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.45, 42.54, -53.29) |
| CIE-LCH | lch(25.45, 68.19, 308.60°) |
| OKLab | oklab(37.64% 0.0623 -0.1529) |
| OKLCH | oklch(37.64% 0.165 292.2) |
| XYZ | xyz(8.2301, 4.5627, 26.4283) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 5.50
Indigo (survey)
#380282
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 6.39
Royal
#0C1793
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48238F #6A8F23
analogous
#23348F #48238F #7E238F
triadic
#48238F #8F4823 #238F48
tetradic
#48238F #8F2334 #6A8F23 #238F7E
square
#48238F #8F2334 #6A8F23 #238F7E
split-complementary
#48238F #8F7E23 #348F23
monochromatic
#160B2D #2F175E #48238F #612FC0 #8257D6
Accessibility & contrast
On white
10.98
#48238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#48238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48238F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48238F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#314057
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #48238f; /* rgb */ color: rgb(72, 35, 143); /* oklch */ color: oklch(37.6% 0.165 292.2);
Tailwind
colors: {
custom: {
50: '#8362b1',
500: '#48238f',
950: '#000000',
},
}SCSS
$custom: #48238f; $custom-light: #8362b1; $custom-dark: #000000;
JSON
{
"hex": "#48238f",
"rgb": {
"r": 72,
"g": 35,
"b": 143
},
"hsl": {
"h": 260.556,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.37635,
"c": 0.16512,
"h": 292.2
},
"luminance": 0.04563
}Semantic roles & 50–950 ramp
primary
#48238F
secondary
#97BA54
accent
#E444AD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980