#481C7F#481C7F
#481C7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.154 H 298.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #481C7F |
|---|---|
| RGB | rgb(72, 28, 127) |
| HSL | hsl(267, 64%, 30%) |
| HSV | hsv(267, 78%, 50%) |
| CMYK | cmyk(43.3%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(22.79, 41.54, -47.62) |
| CIE-LCH | lch(22.79, 63.19, 311.10°) |
| OKLab | oklab(35.32% 0.0729 -0.1362) |
| OKLCH | oklch(35.32% 0.154 298.1) |
| XYZ | xyz(6.9175, 3.7404, 20.4321) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.58
Indigo (survey)
#380282
ΔE00 4.63
Royal Purple (survey)
#4B006E
ΔE00 4.87
Midnight Blue
#191970
ΔE00 7.42
Rebeccapurple
#663399
ΔE00 7.66
Royal
#0C1793
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481C7F #537F1C
analogous
#1C217F #481C7F #791C7F
triadic
#481C7F #7F481C #1C7F48
tetradic
#481C7F #7F1C21 #537F1C #1C7F79
square
#481C7F #7F1C21 #537F1C #1C7F79
split-complementary
#481C7F #7F791C #217F1C
monochromatic
#0F061B #2C114D #481C7F #6427B1 #8240D5
Accessibility & contrast
On white
12.01
#481C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#481C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481C7F
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481C7F | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3A364C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #481c7f; /* rgb */ color: rgb(72, 28, 127); /* oklch */ color: oklch(35.3% 0.154 298.1);
Tailwind
colors: {
custom: {
50: '#815da5',
500: '#481c7f',
950: '#000000',
},
}SCSS
$custom: #481c7f; $custom-light: #815da5; $custom-dark: #000000;
JSON
{
"hex": "#481c7f",
"rgb": {
"r": 72,
"g": 28,
"b": 127
},
"hsl": {
"h": 266.667,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.35317,
"c": 0.15446,
"h": 298.1
},
"luminance": 0.03741
}Semantic roles & 50–950 ramp
primary
#481C7F
secondary
#82B344
accent
#E7419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F