#462C9F#462C9F
#462C9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.174 H 285.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #462C9F |
|---|---|
| RGB | rgb(70, 44, 159) |
| HSL | hsl(254, 57%, 40%) |
| HSV | hsv(254, 72%, 62%) |
| CMYK | cmyk(56%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(28.40, 42.16, -58.29) |
| CIE-LCH | lch(28.40, 71.94, 305.87°) |
| OKLab | oklab(40.12% 0.0477 -0.1677) |
| OKLCH | oklch(40.12% 0.174 285.9) |
| XYZ | xyz(9.6826, 5.6061, 33.3660) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Darkslateblue
#483D8B
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 6.21
Rebeccapurple
#663399
ΔE00 6.30
Blueberry
#464196
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C9F #859F2C
analogous
#2C4C9F #462C9F #7F2C9F
triadic
#462C9F #9F462C #2C9F46
tetradic
#462C9F #9F2C4C #859F2C #2C9F7F
square
#462C9F #9F2C4C #859F2C #2C9F7F
split-complementary
#462C9F #9F7F2C #4C9F2C
monochromatic
#1C113F #311F6F #462C9F #5E3ECA #866ED7
Accessibility & contrast
On white
9.90
#462C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#462C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C9F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C9F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1E4B62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462c9f; /* rgb */ color: rgb(70, 44, 159); /* oklch */ color: oklch(40.1% 0.174 285.9);
Tailwind
colors: {
custom: {
50: '#8368bc',
500: '#462c9f',
950: '#000000',
},
}SCSS
$custom: #462c9f; $custom-light: #8368bc; $custom-dark: #000000;
JSON
{
"hex": "#462c9f",
"rgb": {
"r": 70,
"g": 44,
"b": 159
},
"hsl": {
"h": 253.565,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.40121,
"c": 0.17435,
"h": 285.9
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#462C9F
secondary
#ABBE69
accent
#E048BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81