#492170#492170

#492170 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.131 H 303.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#492170
RGBrgb(73, 33, 112)
HSLhsl(270, 54%, 28%)
HSVhsv(270, 71%, 44%)
CMYKcmyk(34.8%, 70.5%, 0%, 56.1%)
CIE-LABlab(22.56, 35.22, -38.41)
CIE-LCHlch(22.56, 52.11, 312.52°)
OKLaboklab(34.79% 0.0721 -0.1091)
OKLCHoklch(34.79% 0.131 303.5)
XYZxyz(6.2155, 3.6740, 15.7078)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492170 #487021
analogous
#212170 #492170 #70216F
triadic
#492170 #704921 #217049
tetradic
#492170 #702121 #487021 #216F70
square
#492170 #702121 #487021 #216F70
split-complementary
#492170 #6F7021 #217021
monochromatic
#0F0718 #2A1341 #492170 #682F9F #8744C8

Accessibility & contrast

On white

12.11
#492170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#492170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492170
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492170#FFFFFF#000000##FFFFFF
##4921701.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#02366E
Tritanopia (blue-blind)
#413345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #492170;
/* rgb */ color: rgb(73, 33, 112);
/* oklch */ color: oklch(34.8% 0.131 303.5);
Tailwind
colors: {
  custom: {
    50: '#7f5f9a',
    500: '#492170',
    950: '#000000',
  },
}
SCSS
$custom: #492170;
$custom-light: #7f5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#492170",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 270.38,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.1308,
    "h": 303.5
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#492170
secondary
#76A449
accent
#DE4A93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #492170

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

Preview Lab → · Contrast checker → · Palette generator →

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