#462C8B#462C8B
#462C8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.149 H 290.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #462C8B |
|---|---|
| RGB | rgb(70, 44, 139) |
| HSL | hsl(256, 52%, 36%) |
| HSV | hsv(256, 68%, 55%) |
| CMYK | cmyk(49.6%, 68.3%, 0%, 45.5%) |
| CIE-LAB | lab(26.64, 36.10, -48.87) |
| CIE-LCH | lch(26.64, 60.76, 306.45°) |
| OKLab | oklab(38.32% 0.0513 -0.14) |
| OKLCH | oklch(38.32% 0.149 290.1) |
| XYZ | xyz(8.0853, 4.9672, 24.9538) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.00
Rebeccapurple
#663399
ΔE00 6.17
Blueberry
#464196
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 6.94
Indigo
#4B0082
ΔE00 7.30
Indigo (survey)
#380282
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C8B #718B2C
analogous
#2C418B #462C8B #752C8B
triadic
#462C8B #8B462C #2C8B46
tetradic
#462C8B #8B2C41 #718B2C #2C8B75
square
#462C8B #8B2C41 #718B2C #2C8B75
split-complementary
#462C8B #8B752C #418B2C
monochromatic
#170F2E #2F1D5D #462C8B #5D3BB9 #8164CE
Accessibility & contrast
On white
10.53
#462C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#462C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C8B
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C8B | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#2F4357
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #462c8b; /* rgb */ color: rgb(70, 44, 139); /* oklch */ color: oklch(38.3% 0.149 290.1);
Tailwind
colors: {
custom: {
50: '#8067ae',
500: '#462c8b',
950: '#000000',
},
}SCSS
$custom: #462c8b; $custom-light: #8067ae; $custom-dark: #000000;
JSON
{
"hex": "#462c8b",
"rgb": {
"r": 70,
"g": 44,
"b": 139
},
"hsl": {
"h": 256.421,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.38323,
"c": 0.14915,
"h": 290.1
},
"luminance": 0.04968
}Semantic roles & 50–950 ramp
primary
#462C8B
secondary
#9DB45F
accent
#DB4CB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F