#481C6F#481C6F
#481C6F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.136 H 304.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #481C6F |
|---|---|
| RGB | rgb(72, 28, 111) |
| HSL | hsl(272, 60%, 27%) |
| HSV | hsv(272, 75%, 44%) |
| CMYK | cmyk(35.1%, 74.8%, 0%, 56.5%) |
| CIE-LAB | lab(21.42, 37.32, -39.62) |
| CIE-LCH | lch(21.42, 54.44, 313.29°) |
| OKLab | oklab(33.92% 0.0765 -0.1127) |
| OKLCH | oklch(33.92% 0.136 304.2) |
| XYZ | xyz(5.9563, 3.3559, 15.3698) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.01
Indigo
#4B0082
ΔE00 5.11
Indigo (survey)
#380282
ΔE00 6.40
Plum Purple
#4E0550
ΔE00 7.90
Midnight Blue
#191970
ΔE00 8.11
Dark Indigo
#1F0954
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481C6F #436F1C
analogous
#1E1C6F #481C6F #6F1C6D
triadic
#481C6F #6F481C #1C6F48
tetradic
#481C6F #6F1E1C #436F1C #1C6D6F
square
#481C6F #6F1E1C #436F1C #1C6D6F
split-complementary
#481C6F #6D6F1C #1C6F1E
monochromatic
#100618 #28103E #481C6F #6828A0 #8738CD
Accessibility & contrast
On white
12.57
#481C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#481C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481C6F
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481C6F | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#403043
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #481c6f; /* rgb */ color: rgb(72, 28, 111); /* oklch */ color: oklch(33.9% 0.136 304.2);
Tailwind
colors: {
custom: {
50: '#7f5c99',
500: '#481c6f',
950: '#000000',
},
}SCSS
$custom: #481c6f; $custom-light: #7f5c99; $custom-dark: #000000;
JSON
{
"hex": "#481c6f",
"rgb": {
"r": 72,
"g": 28,
"b": 111
},
"hsl": {
"h": 271.807,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.33915,
"c": 0.13624,
"h": 304.2
},
"luminance": 0.03356
}Semantic roles & 50–950 ramp
primary
#481C6F
secondary
#70A443
accent
#E3458F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E