#462097#462097
#462097 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.178 H 289.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #462097 |
|---|---|
| RGB | rgb(70, 32, 151) |
| HSL | hsl(259, 65%, 36%) |
| HSV | hsv(259, 79%, 59%) |
| CMYK | cmyk(53.6%, 78.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.47, 45.95, -58.21) |
| CIE-LCH | lch(25.47, 74.16, 308.29°) |
| OKLab | oklab(37.83% 0.0594 -0.1673) |
| OKLCH | oklch(37.83% 0.178 289.6) |
| XYZ | xyz(8.6266, 4.5691, 29.6995) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.05
Indigo
#4B0082
ΔE00 5.48
Indigo (survey)
#380282
ΔE00 5.59
Royal
#0C1793
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462097 #719720
analogous
#203597 #462097 #812097
triadic
#462097 #974620 #209746
tetradic
#462097 #972035 #719720 #209781
square
#462097 #972035 #719720 #209781
split-complementary
#462097 #978120 #359720
monochromatic
#170B32 #2F1564 #462097 #5D2BC9 #8156DB
Accessibility & contrast
On white
10.97
#462097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#462097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462097
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462097 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#27425B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462097; /* rgb */ color: rgb(70, 32, 151); /* oklch */ color: oklch(37.8% 0.178 289.6);
Tailwind
colors: {
custom: {
50: '#8360b7',
500: '#462097',
950: '#000000',
},
}SCSS
$custom: #462097; $custom-light: #8360b7; $custom-dark: #000000;
JSON
{
"hex": "#462097",
"rgb": {
"r": 70,
"g": 32,
"b": 151
},
"hsl": {
"h": 259.16,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.37828,
"c": 0.17759,
"h": 289.6
},
"luminance": 0.04569
}Semantic roles & 50–950 ramp
primary
#462097
secondary
#9DBF54
accent
#E840B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980