#481C8F#481C8F
#481C8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.172 H 293.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #481C8F |
|---|---|
| RGB | rgb(72, 28, 143) |
| HSL | hsl(263, 67%, 34%) |
| HSV | hsv(263, 80%, 56%) |
| CMYK | cmyk(49.7%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.29, 45.85, -55.19) |
| CIE-LCH | lch(24.29, 71.75, 309.72°) |
| OKLab | oklab(36.83% 0.0681 -0.1584) |
| OKLCH | oklch(36.83% 0.172 293.3) |
| XYZ | xyz(8.0443, 4.1911, 26.3664) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.60
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 6.45
Royal Purple (survey)
#4B006E
ΔE00 6.77
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481C8F #638F1C
analogous
#1C298F #481C8F #811C8F
triadic
#481C8F #8F481C #1C8F48
tetradic
#481C8F #8F1C29 #638F1C #1C8F81
square
#481C8F #8F1C29 #638F1C #1C8F81
split-complementary
#481C8F #8F811C #298F1C
monochromatic
#140829 #2E125C #481C8F #6226C2 #824ADC
Accessibility & contrast
On white
11.42
#481C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#481C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481C8F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481C8F | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#323D55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #481c8f; /* rgb */ color: rgb(72, 28, 143); /* oklch */ color: oklch(36.8% 0.172 293.3);
Tailwind
colors: {
custom: {
50: '#835eb1',
500: '#481c8f',
950: '#000000',
},
}SCSS
$custom: #481c8f; $custom-light: #835eb1; $custom-dark: #000000;
JSON
{
"hex": "#481c8f",
"rgb": {
"r": 72,
"g": 28,
"b": 143
},
"hsl": {
"h": 262.957,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.36825,
"c": 0.17244,
"h": 293.3
},
"luminance": 0.04191
}Semantic roles & 50–950 ramp
primary
#481C8F
secondary
#91BE49
accent
#EA3EA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980