#48268E#48268E
#48268E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.160 H 291.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #48268E |
|---|---|
| RGB | rgb(72, 38, 142) |
| HSL | hsl(260, 58%, 35%) |
| HSV | hsv(260, 73%, 56%) |
| CMYK | cmyk(49.3%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(25.91, 40.70, -51.92) |
| CIE-LCH | lch(25.91, 65.97, 308.09°) |
| OKLab | oklab(37.93% 0.0598 -0.1489) |
| OKLCH | oklch(37.93% 0.16 291.9) |
| XYZ | xyz(8.2467, 4.7166, 26.0618) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 5.88
Rebeccapurple
#663399
ΔE00 6.13
Indigo (survey)
#380282
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.59
Royal
#0C1793
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48268E #6C8E26
analogous
#26388E #48268E #7C268E
triadic
#48268E #8E4826 #268E48
tetradic
#48268E #8E2638 #6C8E26 #268E7C
square
#48268E #8E2638 #6C8E26 #268E7C
split-complementary
#48268E #8E7C26 #388E26
monochromatic
#170C2D #30195E #48268E #6033BE #825BD3
Accessibility & contrast
On white
10.81
#48268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#48268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48268E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48268E | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#324157
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #48268e; /* rgb */ color: rgb(72, 38, 142); /* oklch */ color: oklch(37.9% 0.160 291.9);
Tailwind
colors: {
custom: {
50: '#8263b0',
500: '#48268e',
950: '#000000',
},
}SCSS
$custom: #48268e; $custom-light: #8263b0; $custom-dark: #000000;
JSON
{
"hex": "#48268e",
"rgb": {
"r": 72,
"g": 38,
"b": 142
},
"hsl": {
"h": 259.615,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.37934,
"c": 0.16045,
"h": 291.9
},
"luminance": 0.04717
}Semantic roles & 50–950 ramp
primary
#48268E
secondary
#99B858
accent
#E147AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80