#462C8F#462C8F
#462C8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.154 H 289.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #462C8F |
|---|---|
| RGB | rgb(70, 44, 143) |
| HSL | hsl(256, 53%, 37%) |
| HSV | hsv(256, 69%, 56%) |
| CMYK | cmyk(51%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(26.98, 37.31, -50.80) |
| CIE-LCH | lch(26.98, 63.03, 306.29°) |
| OKLab | oklab(38.67% 0.0507 -0.1457) |
| OKLCH | oklch(38.67% 0.154 289.2) |
| XYZ | xyz(8.3830, 5.0863, 26.5213) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Rebeccapurple
#663399
ΔE00 6.09
Blueberry
#464196
ΔE00 6.15
Indigo Blue
#3A18B1
ΔE00 6.36
Royal
#0C1793
ΔE00 7.36
Indigo
#4B0082
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C8F #758F2C
analogous
#2C448F #462C8F #782C8F
triadic
#462C8F #8F462C #2C8F46
tetradic
#462C8F #8F2C44 #758F2C #2C8F78
square
#462C8F #8F2C44 #758F2C #2C8F78
split-complementary
#462C8F #8F782C #448F2C
monochromatic
#180F31 #2F1E60 #462C8F #5D3ABE #8166D0
Accessibility & contrast
On white
10.41
#462C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#462C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C8F
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C8F | 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)
#004292
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#2D455A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462c8f; /* rgb */ color: rgb(70, 44, 143); /* oklch */ color: oklch(38.7% 0.154 289.2);
Tailwind
colors: {
custom: {
50: '#8167b1',
500: '#462c8f',
950: '#000000',
},
}SCSS
$custom: #462c8f; $custom-light: #8167b1; $custom-dark: #000000;
JSON
{
"hex": "#462c8f",
"rgb": {
"r": 70,
"g": 44,
"b": 143
},
"hsl": {
"h": 255.758,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.38671,
"c": 0.15428,
"h": 289.2
},
"luminance": 0.05087
}Semantic roles & 50–950 ramp
primary
#462C8F
secondary
#A0B661
accent
#DC4BB6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80