#462198#462198
#462198 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.178 H 289.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #462198 |
|---|---|
| RGB | rgb(70, 33, 152) |
| HSL | hsl(259, 64%, 36%) |
| HSV | hsv(259, 78%, 60%) |
| CMYK | cmyk(53.9%, 78.3%, 0%, 40.4%) |
| CIE-LAB | lab(25.73, 45.76, -58.39) |
| CIE-LCH | lch(25.73, 74.18, 308.09°) |
| OKLab | oklab(38.04% 0.0584 -0.1679) |
| OKLCH | oklch(38.04% 0.178 289.2) |
| XYZ | xyz(8.7355, 4.6564, 30.1382) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Indigo
#4B0082
ΔE00 5.72
Indigo (survey)
#380282
ΔE00 5.82
Royal
#0C1793
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462198 #739821
analogous
#213898 #462198 #822198
triadic
#462198 #984621 #219846
tetradic
#462198 #982138 #739821 #219882
square
#462198 #982138 #739821 #219882
split-complementary
#462198 #988221 #389821
monochromatic
#180B33 #2F1666 #462198 #5D2CCA #8159DB
Accessibility & contrast
On white
10.87
#462198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#462198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462198
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462198 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#26435C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #462198; /* rgb */ color: rgb(70, 33, 152); /* oklch */ color: oklch(38.0% 0.178 289.2);
Tailwind
colors: {
custom: {
50: '#8361b7',
500: '#462198',
950: '#000000',
},
}SCSS
$custom: #462198; $custom-light: #8361b7; $custom-dark: #000000;
JSON
{
"hex": "#462198",
"rgb": {
"r": 70,
"g": 33,
"b": 152
},
"hsl": {
"h": 258.655,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.38041,
"c": 0.17776,
"h": 289.2
},
"luminance": 0.04657
}Semantic roles & 50–950 ramp
primary
#462198
secondary
#9EBF56
accent
#E740B3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980