#492579#492579

#492579 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.136 H 299.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#492579
RGBrgb(73, 37, 121)
HSLhsl(266, 53%, 31%)
HSVhsv(266, 69%, 47%)
CMYKcmyk(39.7%, 69.4%, 0%, 52.5%)
CIE-LABlab(24.06, 35.48, -41.74)
CIE-LCHlch(24.06, 54.78, 310.37°)
OKLaboklab(36.09% 0.0662 -0.1189)
OKLCHoklch(36.09% 0.136 299.1)
XYZxyz(6.8595, 4.1200, 18.5193)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492579 #557925
analogous
#252B79 #492579 #732579
triadic
#492579 #794925 #257949
tetradic
#492579 #79252B #557925 #257973
square
#492579 #79252B #557925 #257973
split-complementary
#492579 #797325 #2B7925
monochromatic
#10081B #2D174A #492579 #6533A8 #834FC9

Accessibility & contrast

On white

11.51
#492579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#492579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492579
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492579#FFFFFF#000000##FFFFFF
##4925791.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#3E384B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #492579;
/* rgb */ color: rgb(73, 37, 121);
/* oklch */ color: oklch(36.1% 0.136 299.1);
Tailwind
colors: {
  custom: {
    50: '#8062a0',
    500: '#492579',
    950: '#000000',
  },
}
SCSS
$custom: #492579;
$custom-light: #8062a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492579",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 265.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.13609,
    "h": 299.1
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#492579
secondary
#84AB4E
accent
#DD4B9E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492579

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

Preview Lab → · Contrast checker → · Palette generator →

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