#492899#492899

#492899 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.171 H 289.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#492899
RGBrgb(73, 40, 153)
HSLhsl(258, 59%, 38%)
HSVhsv(258, 74%, 60%)
CMYKcmyk(52.3%, 73.9%, 0%, 40%)
CIE-LABlab(27.39, 43.00, -56.27)
CIE-LCHlch(27.39, 70.82, 307.39°)
OKLaboklab(39.31% 0.057 -0.1616)
OKLCHoklch(39.31% 0.171 289.4)
XYZxyz(9.2545, 5.2335, 30.6534)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492899 #789928
analogous
#284099 #492899 #812899
triadic
#492899 #994928 #289949
tetradic
#492899 #992840 #789928 #289981
square
#492899 #992840 #789928 #289981
split-complementary
#492899 #998128 #409928
monochromatic
#1B0F38 #321B68 #492899 #6035CA #8665D7

Accessibility & contrast

On white

10.26
#492899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#492899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492899
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492899#FFFFFF#000000##FFFFFF
##4928991.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#2C465E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #492899;
/* rgb */ color: rgb(73, 40, 153);
/* oklch */ color: oklch(39.3% 0.171 289.4);
Tailwind
colors: {
  custom: {
    50: '#8465b8',
    500: '#492899',
    950: '#000000',
  },
}
SCSS
$custom: #492899;
$custom-light: #8465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#492899",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 257.522,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.1714,
    "h": 289.4
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#492899
secondary
#A2BD60
accent
#E246B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #492899

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#492899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva