#462195#462195
#462195 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.174 H 289.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #462195 |
|---|---|
| RGB | rgb(70, 33, 149) |
| HSL | hsl(259, 64%, 36%) |
| HSV | hsv(259, 78%, 58%) |
| CMYK | cmyk(53%, 77.9%, 0%, 41.6%) |
| CIE-LAB | lab(25.44, 44.91, -57.02) |
| CIE-LCH | lch(25.44, 72.58, 308.22°) |
| OKLab | oklab(37.75% 0.0593 -0.1639) |
| OKLCH | oklch(37.75% 0.174 289.9) |
| XYZ | xyz(8.4929, 4.5594, 28.8605) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.38
Indigo
#4B0082
ΔE00 5.46
Indigo (survey)
#380282
ΔE00 5.60
Royal
#0C1793
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462195 #709521
analogous
#213695 #462195 #802195
triadic
#462195 #954621 #219546
tetradic
#462195 #952136 #709521 #219580
square
#462195 #952136 #709521 #219580
split-complementary
#462195 #958021 #369521
monochromatic
#170B31 #2E1663 #462195 #5E2CC7 #8057DA
Accessibility & contrast
On white
10.98
#462195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#462195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462195
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462195 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#29425A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462195; /* rgb */ color: rgb(70, 33, 149); /* oklch */ color: oklch(37.7% 0.174 289.9);
Tailwind
colors: {
custom: {
50: '#8261b5',
500: '#462195',
950: '#000000',
},
}SCSS
$custom: #462195; $custom-light: #8261b5; $custom-dark: #000000;
JSON
{
"hex": "#462195",
"rgb": {
"r": 70,
"g": 33,
"b": 149
},
"hsl": {
"h": 259.138,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.37748,
"c": 0.17428,
"h": 289.9
},
"luminance": 0.0456
}Semantic roles & 50–950 ramp
primary
#462195
secondary
#9CBE54
accent
#E741B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980