#461B76#461B76
#461B76 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.145 H 300.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #461B76 |
|---|---|
| RGB | rgb(70, 27, 118) |
| HSL | hsl(268, 63%, 28%) |
| HSV | hsv(268, 77%, 46%) |
| CMYK | cmyk(40.7%, 77.1%, 0%, 53.7%) |
| CIE-LAB | lab(21.56, 39.25, -43.91) |
| CIE-LCH | lch(21.56, 58.90, 311.79°) |
| OKLab | oklab(34.14% 0.073 -0.1254) |
| OKLCH | oklch(34.14% 0.145 300.2) |
| XYZ | xyz(6.1869, 3.3939, 17.4652) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.05
Royal Purple (survey)
#4B006E
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 5.07
Midnight Blue
#191970
ΔE00 7.24
Dark Indigo
#1F0954
ΔE00 8.18
Royal
#0C1793
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#461B76 #4B761B
analogous
#1B1D76 #461B76 #731B76
triadic
#461B76 #76461B #1B7646
tetradic
#461B76 #761B1D #4B761B #1B7673
square
#461B76 #761B1D #4B761B #1B7673
split-complementary
#461B76 #76731B #1D761B
monochromatic
#0F0619 #281044 #461B76 #6426A8 #823AD2
Accessibility & contrast
On white
12.51
#461B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#461B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #461B76
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##461B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##461B76 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3B3247
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #461b76; /* rgb */ color: rgb(70, 27, 118); /* oklch */ color: oklch(34.1% 0.145 300.2);
Tailwind
colors: {
custom: {
50: '#7e5c9e',
500: '#461b76',
950: '#000000',
},
}SCSS
$custom: #461b76; $custom-light: #7e5c9e; $custom-dark: #000000;
JSON
{
"hex": "#461b76",
"rgb": {
"r": 70,
"g": 27,
"b": 118
},
"hsl": {
"h": 268.352,
"s": 62.759,
"l": 28.431
},
"oklch": {
"l": 0.34139,
"c": 0.1451,
"h": 300.2
},
"luminance": 0.03394
}Semantic roles & 50–950 ramp
primary
#461B76
secondary
#79AA42
accent
#E64298
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E