#491F72#491F72

#491F72 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.136 H 303.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#491F72
RGBrgb(73, 31, 114)
HSLhsl(270, 57%, 28%)
HSVhsv(270, 73%, 45%)
CMYKcmyk(36%, 72.8%, 0%, 55.3%)
CIE-LABlab(22.34, 36.80, -40.05)
CIE-LCHlch(22.34, 54.39, 312.58°)
OKLaboklab(34.68% 0.0741 -0.1139)
OKLCHoklch(34.68% 0.136 303.1)
XYZxyz(6.2742, 3.6113, 16.2828)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F72 #48721F
analogous
#1F1F72 #491F72 #721F71
triadic
#491F72 #72491F #1F7249
tetradic
#491F72 #721F1F #48721F #1F7172
square
#491F72 #721F1F #48721F #1F7172
split-complementary
#491F72 #71721F #1F721F
monochromatic
#0F0718 #2A1242 #491F72 #682CA2 #8740CB

Accessibility & contrast

On white

12.19
#491F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#491F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F72
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F72#FFFFFF#000000##FFFFFF
##491F721.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#413246
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #491f72;
/* rgb */ color: rgb(73, 31, 114);
/* oklch */ color: oklch(34.7% 0.136 303.1);
Tailwind
colors: {
  custom: {
    50: '#805e9b',
    500: '#491f72',
    950: '#000000',
  },
}
SCSS
$custom: #491f72;
$custom-light: #805e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#491f72",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 270.361,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.13595,
    "h": 303.1
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#491F72
secondary
#76A647
accent
#E04793
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #491F72

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

Preview Lab → · Contrast checker → · Palette generator →

#491F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva