#462F86#462F86
#462F86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.138 H 290.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #462F86 |
|---|---|
| RGB | rgb(70, 47, 134) |
| HSL | hsl(256, 48%, 35%) |
| HSV | hsv(256, 65%, 53%) |
| CMYK | cmyk(47.8%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(26.89, 32.80, -45.35) |
| CIE-LCH | lch(26.89, 55.97, 305.88°) |
| OKLab | oklab(38.38% 0.0486 -0.1297) |
| OKLCH | oklch(38.38% 0.138 290.5) |
| XYZ | xyz(7.8442, 5.0561, 23.1122) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.13
Blueberry
#464196
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 6.37
Indigo
#4B0082
ΔE00 8.12
Midnight Blue
#191970
ΔE00 8.16
Indigo Blue
#3A18B1
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462F86 #6F862F
analogous
#2F4386 #462F86 #712F86
triadic
#462F86 #86462F #2F8646
tetradic
#462F86 #862F43 #6F862F #2F8671
square
#462F86 #862F43 #6F862F #2F8671
split-complementary
#462F86 #86712F #43862F
monochromatic
#170F2B #2E1F59 #462F86 #5E3FB3 #8066C9
Accessibility & contrast
On white
10.44
#462F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#462F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462F86
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462F86 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#324356
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462f86; /* rgb */ color: rgb(70, 47, 134); /* oklch */ color: oklch(38.4% 0.138 290.5);
Tailwind
colors: {
custom: {
50: '#7f69aa',
500: '#462f86',
950: '#000000',
},
}SCSS
$custom: #462f86; $custom-light: #7f69aa; $custom-dark: #000000;
JSON
{
"hex": "#462f86",
"rgb": {
"r": 70,
"g": 47,
"b": 134
},
"hsl": {
"h": 255.862,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.38378,
"c": 0.13849,
"h": 290.5
},
"luminance": 0.05056
}Semantic roles & 50–950 ramp
primary
#462F86
secondary
#9BB060
accent
#D850B4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F