#462090#462090
#462090 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.170 H 291.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #462090 |
|---|---|
| RGB | rgb(70, 32, 144) |
| HSL | hsl(260, 64%, 35%) |
| HSV | hsv(260, 78%, 56%) |
| CMYK | cmyk(51.4%, 77.8%, 0%, 43.5%) |
| CIE-LAB | lab(24.79, 43.98, -55.00) |
| CIE-LCH | lch(24.79, 70.42, 308.65°) |
| OKLab | oklab(37.15% 0.0615 -0.158) |
| OKLCH | oklch(37.15% 0.17 291.3) |
| XYZ | xyz(8.0749, 4.3484, 26.7940) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.91
Indigo Blue
#3A18B1
ΔE00 5.05
Indigo (survey)
#380282
ΔE00 5.14
Royal
#0C1793
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.86
Rebeccapurple
#663399
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462090 #6A9020
analogous
#203290 #462090 #7E2090
triadic
#462090 #904620 #209046
tetradic
#462090 #902032 #6A9020 #20907E
square
#462090 #902032 #6A9020 #20907E
split-complementary
#462090 #907E20 #329020
monochromatic
#150A2C #2E155E #462090 #5E2BC2 #8052D9
Accessibility & contrast
On white
11.23
#462090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#462090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462090
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462090 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#2D3F57
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #462090; /* rgb */ color: rgb(70, 32, 144); /* oklch */ color: oklch(37.1% 0.170 291.3);
Tailwind
colors: {
custom: {
50: '#8260b2',
500: '#462090',
950: '#000000',
},
}SCSS
$custom: #462090; $custom-light: #8260b2; $custom-dark: #000000;
JSON
{
"hex": "#462090",
"rgb": {
"r": 70,
"g": 32,
"b": 144
},
"hsl": {
"h": 260.357,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.37147,
"c": 0.16952,
"h": 291.3
},
"luminance": 0.04349
}Semantic roles & 50–950 ramp
primary
#462090
secondary
#97BC50
accent
#E741AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980