#492174#492174

#492174 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.136 H 301.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#492174
RGBrgb(73, 33, 116)
HSLhsl(269, 56%, 29%)
HSVhsv(269, 72%, 45%)
CMYKcmyk(37.1%, 71.6%, 0%, 54.5%)
CIE-LABlab(22.88, 36.29, -40.46)
CIE-LCHlch(22.88, 54.35, 311.89°)
OKLaboklab(35.12% 0.0715 -0.1152)
OKLCHoklch(35.12% 0.136 301.8)
XYZxyz(6.4431, 3.7651, 16.9069)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492174 #4C7421
analogous
#212274 #492174 #732174
triadic
#492174 #744921 #217449
tetradic
#492174 #742122 #4C7421 #217473
square
#492174 #742122 #4C7421 #217473
split-complementary
#492174 #747321 #227421
monochromatic
#0F0718 #2B1344 #492174 #672FA4 #8545CA

Accessibility & contrast

On white

11.98
#492174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#492174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492174
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492174#FFFFFF#000000##FFFFFF
##4921741.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#403448
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #492174;
/* rgb */ color: rgb(73, 33, 116);
/* oklch */ color: oklch(35.1% 0.136 301.8);
Tailwind
colors: {
  custom: {
    50: '#80609d',
    500: '#492174',
    950: '#000000',
  },
}
SCSS
$custom: #492174;
$custom-light: #80609d;
$custom-dark: #000000;
JSON
{
  "hex": "#492174",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 268.916,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35115,
    "c": 0.13559,
    "h": 301.8
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#492174
secondary
#7AA749
accent
#DF4997
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #492174

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

Preview Lab → · Contrast checker → · Palette generator →

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