#491F74#491F74

#491F74 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.138 H 302.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#491F74
RGBrgb(73, 31, 116)
HSLhsl(270, 58%, 29%)
HSVhsv(270, 73%, 45%)
CMYKcmyk(37.1%, 73.3%, 0%, 54.5%)
CIE-LABlab(22.50, 37.33, -41.07)
CIE-LCHlch(22.50, 55.50, 312.27°)
OKLaboklab(34.85% 0.0738 -0.117)
OKLCHoklch(34.85% 0.138 302.3)
XYZxyz(6.3893, 3.6574, 16.8889)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F74 #4A741F
analogous
#1F2074 #491F74 #741F74
triadic
#491F74 #74491F #1F7449
tetradic
#491F74 #741F20 #4A741F #1F7474
square
#491F74 #741F20 #4A741F #1F7474
split-complementary
#491F74 #74741F #20741F
monochromatic
#0F0618 #2B1244 #491F74 #672CA4 #8641CC

Accessibility & contrast

On white

12.13
#491F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#491F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F74
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F74#FFFFFF#000000##FFFFFF
##491F741.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#403347
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #491f74;
/* rgb */ color: rgb(73, 31, 116);
/* oklch */ color: oklch(34.8% 0.138 302.3);
Tailwind
colors: {
  custom: {
    50: '#805e9d',
    500: '#491f74',
    950: '#000000',
  },
}
SCSS
$custom: #491f74;
$custom-light: #805e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#491f74",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 269.647,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.1383,
    "h": 302.3
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#491F74
secondary
#78A847
accent
#E14795
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #491F74

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

Preview Lab → · Contrast checker → · Palette generator →

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