#48239F#48239F
#48239F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.184 H 288.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #48239F |
|---|---|
| RGB | rgb(72, 35, 159) |
| HSL | hsl(258, 64%, 38%) |
| HSV | hsv(258, 78%, 62%) |
| CMYK | cmyk(54.7%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(26.97, 47.07, -60.63) |
| CIE-LCH | lch(26.97, 76.76, 307.83°) |
| OKLab | oklab(39.16% 0.0579 -0.1744) |
| OKLCH | oklch(39.16% 0.184 288.4) |
| XYZ | xyz(9.5297, 5.0825, 33.2730) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.40
Violet Blue
#510AC9
ΔE00 5.87
Ultramarine
#2000B1
ΔE00 6.13
Royal
#0C1793
ΔE00 6.58
Rebeccapurple
#663399
ΔE00 6.60
Indigo
#4B0082
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48239F #7A9F23
analogous
#233C9F #48239F #86239F
triadic
#48239F #9F4823 #239F48
tetradic
#48239F #9F233C #7A9F23 #239F86
square
#48239F #9F233C #7A9F23 #239F86
split-complementary
#48239F #9F8623 #3C9F23
monochromatic
#1B0D3B #31186D #48239F #5F2ED1 #8560DC
Accessibility & contrast
On white
10.41
#48239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#48239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48239F
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48239F | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#254660
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #48239f; /* rgb */ color: rgb(72, 35, 159); /* oklch */ color: oklch(39.2% 0.184 288.4);
Tailwind
colors: {
custom: {
50: '#8563bc',
500: '#48239f',
950: '#000000',
},
}SCSS
$custom: #48239f; $custom-light: #8563bc; $custom-dark: #000000;
JSON
{
"hex": "#48239f",
"rgb": {
"r": 72,
"g": 35,
"b": 159
},
"hsl": {
"h": 257.903,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.39163,
"c": 0.18377,
"h": 288.4
},
"luminance": 0.05083
}Semantic roles & 50–950 ramp
primary
#48239F
secondary
#A3C15D
accent
#E741B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81