#481F96#481F96
#481F96 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.177 H 291.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #481F96 |
|---|---|
| RGB | rgb(72, 31, 150) |
| HSL | hsl(261, 66%, 35%) |
| HSV | hsv(261, 79%, 59%) |
| CMYK | cmyk(52%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.44, 46.42, -57.63) |
| CIE-LCH | lch(25.44, 74.00, 308.85°) |
| OKLab | oklab(37.83% 0.0636 -0.1656) |
| OKLCH | oklch(37.83% 0.177 291) |
| XYZ | xyz(8.6659, 4.5593, 29.2717) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.28
Indigo
#4B0082
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.47
Royal
#0C1793
ΔE00 6.33
Ultramarine
#2000B1
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481F96 #6D961F
analogous
#1F3296 #481F96 #831F96
triadic
#481F96 #96481F #1F9648
tetradic
#481F96 #961F32 #6D961F #1F9683
square
#481F96 #961F32 #6D961F #1F9683
split-complementary
#481F96 #96831F #32961F
monochromatic
#170A31 #301563 #481F96 #6029C9 #8354DC
Accessibility & contrast
On white
10.98
#481F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#481F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481F96
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481F96 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#2D415A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #481f96; /* rgb */ color: rgb(72, 31, 150); /* oklch */ color: oklch(37.8% 0.177 291.0);
Tailwind
colors: {
custom: {
50: '#8460b6',
500: '#481f96',
950: '#000000',
},
}SCSS
$custom: #481f96; $custom-light: #8460b6; $custom-dark: #000000;
JSON
{
"hex": "#481f96",
"rgb": {
"r": 72,
"g": 31,
"b": 150
},
"hsl": {
"h": 260.672,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37831,
"c": 0.1774,
"h": 291
},
"luminance": 0.0456
}Semantic roles & 50–950 ramp
primary
#481F96
secondary
#99BF52
accent
#E93FAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980