#492797#492797
#492797 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.170 H 290.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #492797 |
|---|---|
| RGB | rgb(73, 39, 151) |
| HSL | hsl(258, 59%, 37%) |
| HSV | hsv(258, 74%, 59%) |
| CMYK | cmyk(51.7%, 74.2%, 0%, 40.8%) |
| CIE-LAB | lab(27.02, 42.94, -55.65) |
| CIE-LCH | lch(27.02, 70.29, 307.66°) |
| OKLab | oklab(39% 0.0584 -0.1598) |
| OKLCH | oklch(39% 0.17 290.1) |
| XYZ | xyz(9.0575, 5.1015, 29.7796) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.81
Rebeccapurple
#663399
ΔE00 5.92
Indigo
#4B0082
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.72
Indigo (survey)
#380282
ΔE00 6.89
Royal
#0C1793
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#492797 #759727
analogous
#273D97 #492797 #812797
triadic
#492797 #974927 #279749
tetradic
#492797 #97273D #759727 #279781
square
#492797 #97273D #759727 #279781
split-complementary
#492797 #978127 #3D9727
monochromatic
#1A0E36 #311A66 #492797 #6134C8 #8562D6
Accessibility & contrast
On white
10.39
#492797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#492797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #492797
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##492797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##492797 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#2D455D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #492797; /* rgb */ color: rgb(73, 39, 151); /* oklch */ color: oklch(39.0% 0.170 290.1);
Tailwind
colors: {
custom: {
50: '#8465b7',
500: '#492797',
950: '#000000',
},
}SCSS
$custom: #492797; $custom-light: #8465b7; $custom-dark: #000000;
JSON
{
"hex": "#492797",
"rgb": {
"r": 73,
"g": 39,
"b": 151
},
"hsl": {
"h": 258.214,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.38996,
"c": 0.17013,
"h": 290.1
},
"luminance": 0.05102
}Semantic roles & 50–950 ramp
primary
#492797
secondary
#9FBC5E
accent
#E246B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80