#461D7E#461D7E
#461D7E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.152 H 297.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #461D7E |
|---|---|
| RGB | rgb(70, 29, 126) |
| HSL | hsl(265, 63%, 30%) |
| HSV | hsv(265, 77%, 49%) |
| CMYK | cmyk(44.4%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(22.61, 40.44, -47.30) |
| CIE-LCH | lch(22.61, 62.23, 310.53°) |
| OKLab | oklab(35.1% 0.0691 -0.1353) |
| OKLCH | oklch(35.1% 0.152 297) |
| XYZ | xyz(6.7301, 3.6870, 20.0917) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 4.66
Royal Purple (survey)
#4B006E
ΔE00 5.08
Midnight Blue
#191970
ΔE00 7.04
Royal
#0C1793
ΔE00 7.54
Rebeccapurple
#663399
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#461D7E #557E1D
analogous
#1D247E #461D7E #761D7E
triadic
#461D7E #7E461D #1D7E46
tetradic
#461D7E #7E1D24 #557E1D #1D7E76
square
#461D7E #7E1D24 #557E1D #1D7E76
split-complementary
#461D7E #7E761D #247E1D
monochromatic
#0F061B #2A124C #461D7E #6228B0 #7F42D3
Accessibility & contrast
On white
12.09
#461D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#461D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #461D7E
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##461D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##461D7E | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#37364C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #461d7e; /* rgb */ color: rgb(70, 29, 126); /* oklch */ color: oklch(35.1% 0.152 297.0);
Tailwind
colors: {
custom: {
50: '#7f5da4',
500: '#461d7e',
950: '#000000',
},
}SCSS
$custom: #461d7e; $custom-light: #7f5da4; $custom-dark: #000000;
JSON
{
"hex": "#461d7e",
"rgb": {
"r": 70,
"g": 29,
"b": 126
},
"hsl": {
"h": 265.361,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.35101,
"c": 0.15195,
"h": 297
},
"luminance": 0.03687
}Semantic roles & 50–950 ramp
primary
#461D7E
secondary
#84B145
accent
#E642A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F