#48229F#48229F
#48229F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.185 H 288.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #48229F |
|---|---|
| RGB | rgb(72, 34, 159) |
| HSL | hsl(258, 65%, 38%) |
| HSV | hsv(258, 79%, 62%) |
| CMYK | cmyk(54.7%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.80, 47.54, -60.90) |
| CIE-LCH | lch(26.80, 77.26, 307.98°) |
| OKLab | oklab(39.05% 0.0587 -0.1752) |
| OKLCH | oklch(39.05% 0.185 288.5) |
| XYZ | xyz(9.5007, 5.0245, 33.2634) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Violet Blue
#510AC9
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.00
Indigo
#4B0082
ΔE00 6.46
Royal
#0C1793
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48229F #799F22
analogous
#223A9F #48229F #86229F
triadic
#48229F #9F4822 #229F48
tetradic
#48229F #9F223A #799F22 #229F86
square
#48229F #9F223A #799F22 #229F86
split-complementary
#48229F #9F8622 #3A9F22
monochromatic
#1A0C3A #31176D #48229F #5F2DD1 #855FDD
Accessibility & contrast
On white
10.47
#48229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#48229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48229F
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48229F | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#254660
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #48229f; /* rgb */ color: rgb(72, 34, 159); /* oklch */ color: oklch(39.0% 0.185 288.5);
Tailwind
colors: {
custom: {
50: '#8562bd',
500: '#48229f',
950: '#000000',
},
}SCSS
$custom: #48229f; $custom-light: #8562bd; $custom-dark: #000000;
JSON
{
"hex": "#48229f",
"rgb": {
"r": 72,
"g": 34,
"b": 159
},
"hsl": {
"h": 258.24,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.39049,
"c": 0.18474,
"h": 288.5
},
"luminance": 0.05025
}Semantic roles & 50–950 ramp
primary
#48229F
secondary
#A2C15B
accent
#E840B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81