#462D8F#462D8F
#462D8F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.153 H 288.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #462D8F |
|---|---|
| RGB | rgb(70, 45, 143) |
| HSL | hsl(255, 52%, 37%) |
| HSV | hsv(255, 69%, 56%) |
| CMYK | cmyk(51%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.19, 36.73, -50.46) |
| CIE-LCH | lch(27.19, 62.41, 306.05°) |
| OKLab | oklab(38.82% 0.0497 -0.1447) |
| OKLCH | oklch(38.82% 0.153 288.9) |
| XYZ | xyz(8.4207, 5.1617, 26.5339) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.88
Blueberry
#464196
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.52
Sapphire (survey)
#2138AB
ΔE00 7.36
Royal
#0C1793
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462D8F #768F2D
analogous
#2D458F #462D8F #772D8F
triadic
#462D8F #8F462D #2D8F46
tetradic
#462D8F #8F2D45 #768F2D #2D8F77
square
#462D8F #8F2D45 #768F2D #2D8F77
split-complementary
#462D8F #8F772D #458F2D
monochromatic
#181032 #2F1E60 #462D8F #5D3CBE #8267CF
Accessibility & contrast
On white
10.33
#462D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#462D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462D8F
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462D8F | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#2D455A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462d8f; /* rgb */ color: rgb(70, 45, 143); /* oklch */ color: oklch(38.8% 0.153 288.9);
Tailwind
colors: {
custom: {
50: '#8168b1',
500: '#462d8f',
950: '#000000',
},
}SCSS
$custom: #462d8f; $custom-light: #8168b1; $custom-dark: #000000;
JSON
{
"hex": "#462d8f",
"rgb": {
"r": 70,
"g": 45,
"b": 143
},
"hsl": {
"h": 255.306,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.38823,
"c": 0.15299,
"h": 288.9
},
"luminance": 0.05162
}Semantic roles & 50–950 ramp
primary
#462D8F
secondary
#A0B662
accent
#DC4CB7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80