#48276F#48276F
#48276F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.120 H 301.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #48276F |
|---|---|
| RGB | rgb(72, 39, 111) |
| HSL | hsl(268, 48%, 29%) |
| HSV | hsv(268, 65%, 44%) |
| CMYK | cmyk(35.1%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(23.59, 31.33, -36.10) |
| CIE-LCH | lch(23.59, 47.80, 310.95°) |
| OKLab | oklab(35.48% 0.0631 -0.1024) |
| OKLCH | oklch(35.48% 0.12 301.6) |
| XYZ | xyz(6.2666, 3.9764, 15.4732) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.78
Rebeccapurple
#663399
ΔE00 8.37
Indigo (survey)
#380282
ΔE00 8.45
Midnight Blue
#191970
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#48276F #4E6F27
analogous
#272A6F #48276F #6C276F
triadic
#48276F #6F4827 #276F48
tetradic
#48276F #6F272A #4E6F27 #276F6C
square
#48276F #6F272A #4E6F27 #276F6C
split-complementary
#48276F #6F6C27 #2A6F27
monochromatic
#0F0817 #2B1742 #48276F #65379C #834FC1
Accessibility & contrast
On white
11.70
#48276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#48276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #48276F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##48276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##48276F | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#403647
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #48276f; /* rgb */ color: rgb(72, 39, 111); /* oklch */ color: oklch(35.5% 0.120 301.6);
Tailwind
colors: {
custom: {
50: '#7e6399',
500: '#48276f',
950: '#000000',
},
}SCSS
$custom: #48276f; $custom-light: #7e6399; $custom-dark: #000000;
JSON
{
"hex": "#48276f",
"rgb": {
"r": 72,
"g": 39,
"b": 111
},
"hsl": {
"h": 267.5,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.35479,
"c": 0.12031,
"h": 301.6
},
"luminance": 0.03976
}Semantic roles & 50–950 ramp
primary
#48276F
secondary
#7CA250
accent
#D8509A
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E