#491F71#491F71

#491F71 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.135 H 303.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#491F71
RGBrgb(73, 31, 113)
HSLhsl(271, 57%, 28%)
HSVhsv(271, 73%, 44%)
CMYKcmyk(35.4%, 72.6%, 0%, 55.7%)
CIE-LABlab(22.26, 36.54, -39.54)
CIE-LCHlch(22.26, 53.84, 312.74°)
OKLaboklab(34.6% 0.0743 -0.1124)
OKLCHoklch(34.6% 0.135 303.5)
XYZxyz(6.2176, 3.5887, 15.9847)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F71 #47711F
analogous
#201F71 #491F71 #711F70
triadic
#491F71 #71491F #1F7149
tetradic
#491F71 #71201F #47711F #1F7071
square
#491F71 #71201F #47711F #1F7071
split-complementary
#491F71 #70711F #1F7120
monochromatic
#100718 #2A1241 #491F71 #682CA1 #8740CB

Accessibility & contrast

On white

12.22
#491F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491F71
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F71#FFFFFF#000000##FFFFFF
##491F711.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#413245
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #491f71;
/* rgb */ color: rgb(73, 31, 113);
/* oklch */ color: oklch(34.6% 0.135 303.5);
Tailwind
colors: {
  custom: {
    50: '#805e9a',
    500: '#491f71',
    950: '#000000',
  },
}
SCSS
$custom: #491f71;
$custom-light: #805e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#491f71",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 270.732,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.13478,
    "h": 303.5
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#491F71
secondary
#75A547
accent
#E04892
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #491F71

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

Preview Lab → · Contrast checker → · Palette generator →

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