#462C8A#462C8A
#462C8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.148 H 290.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #462C8A |
|---|---|
| RGB | rgb(70, 44, 138) |
| HSL | hsl(257, 52%, 36%) |
| HSV | hsv(257, 68%, 54%) |
| CMYK | cmyk(49.3%, 68.1%, 0%, 45.9%) |
| CIE-LAB | lab(26.56, 35.80, -48.39) |
| CIE-LCH | lch(26.56, 60.19, 306.50°) |
| OKLab | oklab(38.24% 0.0515 -0.1386) |
| OKLCH | oklch(38.24% 0.148 290.4) |
| XYZ | xyz(8.0126, 4.9381, 24.5708) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.98
Rebeccapurple
#663399
ΔE00 6.20
Blueberry
#464196
ΔE00 6.29
Indigo Blue
#3A18B1
ΔE00 7.09
Indigo
#4B0082
ΔE00 7.29
Indigo (survey)
#380282
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C8A #708A2C
analogous
#2C418A #462C8A #752C8A
triadic
#462C8A #8A462C #2C8A46
tetradic
#462C8A #8A2C41 #708A2C #2C8A75
square
#462C8A #8A2C41 #708A2C #2C8A75
split-complementary
#462C8A #8A752C #418A2C
monochromatic
#170E2D #2E1D5C #462C8A #5E3BB8 #8063CD
Accessibility & contrast
On white
10.57
#462C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#462C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C8A
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C8A | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#304357
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #462c8a; /* rgb */ color: rgb(70, 44, 138); /* oklch */ color: oklch(38.2% 0.148 290.4);
Tailwind
colors: {
custom: {
50: '#8067ad',
500: '#462c8a',
950: '#000000',
},
}SCSS
$custom: #462c8a; $custom-light: #8067ad; $custom-dark: #000000;
JSON
{
"hex": "#462c8a",
"rgb": {
"r": 70,
"g": 44,
"b": 138
},
"hsl": {
"h": 256.596,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.38237,
"c": 0.14786,
"h": 290.4
},
"luminance": 0.04938
}Semantic roles & 50–950 ramp
primary
#462C8A
secondary
#9CB45E
accent
#DB4DB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F