#462E8D#462E8D
#462E8D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.149 H 289.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #462E8D |
|---|---|
| RGB | rgb(70, 46, 141) |
| HSL | hsl(255, 51%, 37%) |
| HSV | hsv(255, 67%, 55%) |
| CMYK | cmyk(50.4%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(27.24, 35.54, -49.14) |
| CIE-LCH | lch(27.24, 60.65, 305.87°) |
| OKLab | oklab(38.81% 0.0489 -0.1408) |
| OKLCH | oklch(38.81% 0.149 289.2) |
| XYZ | xyz(8.3091, 5.1788, 25.7559) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.53
Blueberry
#464196
ΔE00 5.69
Rebeccapurple
#663399
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.96
Sapphire (survey)
#2138AB
ΔE00 7.47
Royal
#0C1793
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462E8D #758D2E
analogous
#2E468D #462E8D #762E8D
triadic
#462E8D #8D462E #2E8D46
tetradic
#462E8D #8D2E46 #758D2E #2E8D76
square
#462E8D #8D2E46 #758D2E #2E8D76
split-complementary
#462E8D #8D762E #468D2E
monochromatic
#181031 #2F1F5F #462E8D #5D3DBB #8168CE
Accessibility & contrast
On white
10.32
#462E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#462E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462E8D
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462E8D | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#2E4559
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462e8d; /* rgb */ color: rgb(70, 46, 141); /* oklch */ color: oklch(38.8% 0.149 289.2);
Tailwind
colors: {
custom: {
50: '#8068af',
500: '#462e8d',
950: '#000000',
},
}SCSS
$custom: #462e8d; $custom-light: #8068af; $custom-dark: #000000;
JSON
{
"hex": "#462e8d",
"rgb": {
"r": 70,
"g": 46,
"b": 141
},
"hsl": {
"h": 255.158,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.38805,
"c": 0.14909,
"h": 289.2
},
"luminance": 0.05179
}Semantic roles & 50–950 ramp
primary
#462E8D
secondary
#A0B562
accent
#DA4EB7
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F