#492192#492192
#492192 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.171 H 292.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #492192 |
|---|---|
| RGB | rgb(73, 33, 146) |
| HSL | hsl(261, 63%, 35%) |
| HSV | hsv(261, 77%, 57%) |
| CMYK | cmyk(50%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(25.50, 44.52, -55.06) |
| CIE-LCH | lch(25.50, 70.81, 308.96°) |
| OKLab | oklab(37.78% 0.0648 -0.158) |
| OKLCH | oklch(37.78% 0.171 292.3) |
| XYZ | xyz(8.4784, 4.5792, 27.6257) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.01
Indigo
#4B0082
ΔE00 5.09
Indigo (survey)
#380282
ΔE00 5.57
Rebeccapurple
#663399
ΔE00 6.44
Royal
#0C1793
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#492192 #6A9221
analogous
#213292 #492192 #812192
triadic
#492192 #924921 #219249
tetradic
#492192 #922132 #6A9221 #219281
square
#492192 #922132 #6A9221 #219281
split-complementary
#492192 #928121 #329221
monochromatic
#170A2E #301660 #492192 #622CC4 #8355D9
Accessibility & contrast
On white
10.96
#492192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#492192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #492192
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##492192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##492192 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#314058
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #492192; /* rgb */ color: rgb(73, 33, 146); /* oklch */ color: oklch(37.8% 0.171 292.3);
Tailwind
colors: {
custom: {
50: '#8461b3',
500: '#492192',
950: '#000000',
},
}SCSS
$custom: #492192; $custom-light: #8461b3; $custom-dark: #000000;
JSON
{
"hex": "#492192",
"rgb": {
"r": 73,
"g": 33,
"b": 146
},
"hsl": {
"h": 261.239,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.37783,
"c": 0.17082,
"h": 292.3
},
"luminance": 0.0458
}Semantic roles & 50–950 ramp
primary
#492192
secondary
#97BC53
accent
#E642AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980