#462299#462299
#462299 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.178 H 288.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #462299 |
|---|---|
| RGB | rgb(70, 34, 153) |
| HSL | hsl(258, 64%, 37%) |
| HSV | hsv(258, 78%, 60%) |
| CMYK | cmyk(54.2%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(26.00, 45.57, -58.57) |
| CIE-LCH | lch(26.00, 74.20, 307.88°) |
| OKLab | oklab(38.26% 0.0573 -0.1684) |
| OKLCH | oklch(38.26% 0.178 288.8) |
| XYZ | xyz(8.8459, 4.7456, 30.5807) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Indigo
#4B0082
ΔE00 5.97
Indigo (survey)
#380282
ΔE00 6.06
Royal
#0C1793
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462299 #759922
analogous
#223A99 #462299 #822299
triadic
#462299 #994622 #229946
tetradic
#462299 #99223A #759922 #229982
square
#462299 #99223A #759922 #229982
split-complementary
#462299 #998222 #3A9922
monochromatic
#180C35 #2F1767 #462299 #5D2DCB #815BDB
Accessibility & contrast
On white
10.77
#462299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#462299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462299
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462299 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#25445C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #462299; /* rgb */ color: rgb(70, 34, 153); /* oklch */ color: oklch(38.3% 0.178 288.8);
Tailwind
colors: {
custom: {
50: '#8362b8',
500: '#462299',
950: '#000000',
},
}SCSS
$custom: #462299; $custom-light: #8362b8; $custom-dark: #000000;
JSON
{
"hex": "#462299",
"rgb": {
"r": 70,
"g": 34,
"b": 153
},
"hsl": {
"h": 258.151,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.38256,
"c": 0.17792,
"h": 288.8
},
"luminance": 0.04746
}Semantic roles & 50–950 ramp
primary
#462299
secondary
#A0BF58
accent
#E741B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980