#481B6F#481B6F
#481B6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.138 H 304.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #481B6F |
|---|---|
| RGB | rgb(72, 27, 111) |
| HSL | hsl(272, 61%, 27%) |
| HSV | hsv(272, 76%, 44%) |
| CMYK | cmyk(35.1%, 75.7%, 0%, 56.5%) |
| CIE-LAB | lab(21.24, 37.82, -39.91) |
| CIE-LCH | lch(21.24, 54.98, 313.46°) |
| OKLab | oklab(33.79% 0.0776 -0.1135) |
| OKLCH | oklch(33.79% 0.138 304.4) |
| XYZ | xyz(5.9330, 3.3093, 15.3620) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.80
Indigo
#4B0082
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 6.26
Plum Purple
#4E0550
ΔE00 7.83
Dark Indigo
#1F0954
ΔE00 8.11
Midnight Blue
#191970
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#481B6F #426F1B
analogous
#1E1B6F #481B6F #6F1B6C
triadic
#481B6F #6F481B #1B6F48
tetradic
#481B6F #6F1E1B #426F1B #1B6C6F
square
#481B6F #6F1E1B #426F1B #1B6C6F
split-complementary
#481B6F #6C6F1B #1B6F1E
monochromatic
#100619 #280F3E #481B6F #6827A0 #8836CE
Accessibility & contrast
On white
12.64
#481B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#481B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #481B6F
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##481B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##481B6F | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#412F43
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #481b6f; /* rgb */ color: rgb(72, 27, 111); /* oklch */ color: oklch(33.8% 0.138 304.4);
Tailwind
colors: {
custom: {
50: '#7f5c99',
500: '#481b6f',
950: '#000000',
},
}SCSS
$custom: #481b6f; $custom-light: #7f5c99; $custom-dark: #000000;
JSON
{
"hex": "#481b6f",
"rgb": {
"r": 72,
"g": 27,
"b": 111
},
"hsl": {
"h": 272.143,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.33792,
"c": 0.13754,
"h": 304.4
},
"luminance": 0.03309
}Semantic roles & 50–950 ramp
primary
#481B6F
secondary
#6FA442
accent
#E4448E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E