#492371#492371

#492371 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.129 H 302.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#492371
RGBrgb(73, 35, 113)
HSLhsl(269, 53%, 29%)
HSVhsv(269, 69%, 44%)
CMYKcmyk(35.4%, 69%, 0%, 55.7%)
CIE-LABlab(23.04, 34.40, -38.28)
CIE-LCHlch(23.04, 51.47, 311.94°)
OKLaboklab(35.15% 0.0696 -0.1088)
OKLCHoklch(35.15% 0.129 302.6)
XYZxyz(6.3286, 3.8108, 16.0217)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#492371 #4B7123
analogous
#232471 #492371 #702371
triadic
#492371 #714923 #237149
tetradic
#492371 #712324 #4B7123 #237170
square
#492371 #712324 #4B7123 #237170
split-complementary
#492371 #717023 #247123
monochromatic
#0F0717 #2B1542 #492371 #6731A0 #8648C6

Accessibility & contrast

On white

11.92
#492371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#492371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #492371
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##492371#FFFFFF#000000##FFFFFF
##4923711.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#04376F
Tritanopia (blue-blind)
#413446
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #492371;
/* rgb */ color: rgb(73, 35, 113);
/* oklch */ color: oklch(35.2% 0.129 302.6);
Tailwind
colors: {
  custom: {
    50: '#7f619a',
    500: '#492371',
    950: '#000000',
  },
}
SCSS
$custom: #492371;
$custom-light: #7f619a;
$custom-dark: #000000;
JSON
{
  "hex": "#492371",
  "rgb": {
    "r": 73,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 269.231,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.12911,
    "h": 302.6
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#492371
secondary
#79A44C
accent
#DC4C96
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #492371

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

Preview Lab → · Contrast checker → · Palette generator →

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