#492571#492571

#492571 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.126 H 302.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#492571
RGBrgb(73, 37, 113)
HSLhsl(268, 51%, 29%)
HSVhsv(268, 67%, 44%)
CMYKcmyk(35.4%, 67.3%, 0%, 55.7%)
CIE-LABlab(23.44, 33.28, -37.62)
CIE-LCHlch(23.44, 50.23, 311.49°)
OKLaboklab(35.45% 0.0671 -0.1068)
OKLCHoklch(35.45% 0.126 302.1)
XYZxyz(6.3892, 3.9318, 16.0419)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492571 #4D7125
analogous
#252771 #492571 #6F2571
triadic
#492571 #714925 #257149
tetradic
#492571 #712527 #4D7125 #25716F
square
#492571 #712527 #4D7125 #25716F
split-complementary
#492571 #716F25 #277125
monochromatic
#0F0817 #2B1643 #492571 #67349F #854CC4

Accessibility & contrast

On white

11.76
#492571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#492571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492571
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492571#FFFFFF#000000##FFFFFF
##4925711.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#09386F
Tritanopia (blue-blind)
#413647
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #492571;
/* rgb */ color: rgb(73, 37, 113);
/* oklch */ color: oklch(35.4% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#7f629a',
    500: '#492571',
    950: '#000000',
  },
}
SCSS
$custom: #492571;
$custom-light: #7f629a;
$custom-dark: #000000;
JSON
{
  "hex": "#492571",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 268.421,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.12615,
    "h": 302.1
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#492571
secondary
#7BA44E
accent
#DA4E98
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #492571

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

Preview Lab → · Contrast checker → · Palette generator →

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