#481D7C#481D7C
#481D7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 299.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #481D7C |
|---|---|
| RGB | rgb(72, 29, 124) |
| HSL | hsl(267, 62%, 30%) |
| HSV | hsv(267, 77%, 49%) |
| CMYK | cmyk(41.9%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(22.69, 40.26, -45.88) |
| CIE-LCH | lch(22.69, 61.04, 311.27°) |
| OKLab | oklab(35.16% 0.0727 -0.1311) |
| OKLCH | oklch(35.16% 0.15 299) |
| XYZ | xyz(6.7490, 3.7116, 19.4257) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.91
Royal Purple (survey)
#4B006E
ΔE00 4.74
Indigo (survey)
#380282
ΔE00 5.00
Midnight Blue
#191970
ΔE00 7.43
Rebeccapurple
#663399
ΔE00 7.75
Royal
#0C1793
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481D7C #517C1D
analogous
#1D217C #481D7C #781D7C
triadic
#481D7C #7C481D #1D7C48
tetradic
#481D7C #7C1D21 #517C1D #1D7C78
square
#481D7C #7C1D21 #517C1D #1D7C78
split-complementary
#481D7C #7C781D #217C1D
monochromatic
#0E0619 #2B114A #481D7C #6529AE #8341D3
Accessibility & contrast
On white
12.05
#481D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#481D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481D7C
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481D7C | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3B354B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #481d7c; /* rgb */ color: rgb(72, 29, 124); /* oklch */ color: oklch(35.2% 0.150 299.0);
Tailwind
colors: {
custom: {
50: '#805ea3',
500: '#481d7c',
950: '#000000',
},
}SCSS
$custom: #481d7c; $custom-light: #805ea3; $custom-dark: #000000;
JSON
{
"hex": "#481d7c",
"rgb": {
"r": 72,
"g": 29,
"b": 124
},
"hsl": {
"h": 267.158,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.35164,
"c": 0.1499,
"h": 299
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#481D7C
secondary
#7FB045
accent
#E5439C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F