#492578#492578

#492578 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.135 H 299.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#492578
RGBrgb(73, 37, 120)
HSLhsl(266, 53%, 31%)
HSVhsv(266, 69%, 47%)
CMYKcmyk(39.2%, 69.2%, 0%, 52.9%)
CIE-LABlab(23.98, 35.20, -41.23)
CIE-LCHlch(23.98, 54.21, 310.49°)
OKLaboklab(36.01% 0.0663 -0.1174)
OKLCHoklch(36.01% 0.135 299.4)
XYZxyz(6.7985, 4.0956, 18.1980)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492578 #547825
analogous
#252A78 #492578 #722578
triadic
#492578 #784925 #257849
tetradic
#492578 #78252A #547825 #257872
square
#492578 #78252A #547825 #257872
split-complementary
#492578 #787225 #2A7825
monochromatic
#10081A #2D1749 #492578 #6533A7 #844FC9

Accessibility & contrast

On white

11.54
#492578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #492578
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492578#FFFFFF#000000##FFFFFF
##4925781.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #492578;
/* rgb */ color: rgb(73, 37, 120);
/* oklch */ color: oklch(36.0% 0.135 299.4);
Tailwind
colors: {
  custom: {
    50: '#8062a0',
    500: '#492578',
    950: '#000000',
  },
}
SCSS
$custom: #492578;
$custom-light: #8062a0;
$custom-dark: #000000;
JSON
{
  "hex": "#492578",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 266.024,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.13486,
    "h": 299.4
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#492578
secondary
#83AA4E
accent
#DC4C9D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #492578

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

Preview Lab → · Contrast checker → · Palette generator →

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