#462E8A#462E8A
#462E8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.145 H 289.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #462E8A |
|---|---|
| RGB | rgb(70, 46, 138) |
| HSL | hsl(256, 50%, 36%) |
| HSV | hsv(256, 67%, 54%) |
| CMYK | cmyk(49.3%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(26.99, 34.62, -47.68) |
| CIE-LCH | lch(26.99, 58.93, 305.98°) |
| OKLab | oklab(38.55% 0.0493 -0.1365) |
| OKLCH | oklch(38.55% 0.145 289.8) |
| XYZ | xyz(8.0889, 5.0907, 24.5962) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.44
Blueberry
#464196
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 7.39
Indigo
#4B0082
ΔE00 7.82
Sapphire (survey)
#2138AB
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462E8A #728A2E
analogous
#2E448A #462E8A #742E8A
triadic
#462E8A #8A462E #2E8A46
tetradic
#462E8A #8A2E44 #728A2E #2E8A74
square
#462E8A #8A2E44 #728A2E #2E8A74
split-complementary
#462E8A #8A742E #448A2E
monochromatic
#170F2E #2F1F5C #462E8A #5D3DB8 #8166CC
Accessibility & contrast
On white
10.41
#462E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#462E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462E8A
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462E8A | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#304457
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462e8a; /* rgb */ color: rgb(70, 46, 138); /* oklch */ color: oklch(38.6% 0.145 289.8);
Tailwind
colors: {
custom: {
50: '#8068ad',
500: '#462e8a',
950: '#000000',
},
}SCSS
$custom: #462e8a; $custom-light: #8068ad; $custom-dark: #000000;
JSON
{
"hex": "#462e8a",
"rgb": {
"r": 70,
"g": 46,
"b": 138
},
"hsl": {
"h": 255.652,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.3855,
"c": 0.14517,
"h": 289.8
},
"luminance": 0.05091
}Semantic roles & 50–950 ramp
primary
#462E8A
secondary
#9EB361
accent
#DA4EB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F