#481F97#481F97
#481F97 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.179 H 290.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #481F97 |
|---|---|
| RGB | rgb(72, 31, 151) |
| HSL | hsl(261, 66%, 36%) |
| HSV | hsv(261, 79%, 59%) |
| CMYK | cmyk(52.3%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.54, 46.69, -58.09) |
| CIE-LCH | lch(25.54, 74.53, 308.80°) |
| OKLab | oklab(37.93% 0.0633 -0.1669) |
| OKLCH | oklch(37.93% 0.179 290.8) |
| XYZ | xyz(8.7468, 4.5917, 29.6976) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Indigo
#4B0082
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.54
Ultramarine
#2000B1
ΔE00 6.25
Royal
#0C1793
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481F97 #6E971F
analogous
#1F3297 #481F97 #841F97
triadic
#481F97 #97481F #1F9748
tetradic
#481F97 #971F32 #6E971F #1F9784
square
#481F97 #971F32 #6E971F #1F9784
split-complementary
#481F97 #97841F #32971F
monochromatic
#180A31 #301564 #481F97 #6029CA #8354DC
Accessibility & contrast
On white
10.95
#481F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#481F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481F97
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481F97 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#2C415B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #481f97; /* rgb */ color: rgb(72, 31, 151); /* oklch */ color: oklch(37.9% 0.179 290.8);
Tailwind
colors: {
custom: {
50: '#8460b7',
500: '#481f97',
950: '#000000',
},
}SCSS
$custom: #481f97; $custom-light: #8460b7; $custom-dark: #000000;
JSON
{
"hex": "#481f97",
"rgb": {
"r": 72,
"g": 31,
"b": 151
},
"hsl": {
"h": 260.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.37928,
"c": 0.17853,
"h": 290.8
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#481F97
secondary
#9ABF52
accent
#E93FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980