#491F7F#491F7F

#491F7F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.151 H 298.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#491F7F
RGBrgb(73, 31, 127)
HSLhsl(266, 61%, 31%)
HSVhsv(266, 76%, 50%)
CMYKcmyk(42.5%, 75.6%, 0%, 50.2%)
CIE-LABlab(23.43, 40.28, -46.57)
CIE-LCHlch(23.43, 61.57, 310.86°)
OKLaboklab(35.8% 0.0715 -0.1331)
OKLCHoklch(35.8% 0.151 298.3)
XYZxyz(7.0674, 3.9286, 20.4605)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F7F #557F1F
analogous
#1F257F #491F7F #791F7F
triadic
#491F7F #7F491F #1F7F49
tetradic
#491F7F #7F1F25 #557F1F #1F7F79
square
#491F7F #7F1F25 #557F1F #1F7F79
split-complementary
#491F7F #7F791F #257F1F
monochromatic
#10071D #2D134E #491F7F #652BB0 #8346D2

Accessibility & contrast

On white

11.76
#491F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#491F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##491F7F#FFFFFF#000000##FFFFFF
##491F7F1.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)
#003882
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#3C374D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #491f7f;
/* rgb */ color: rgb(73, 31, 127);
/* oklch */ color: oklch(35.8% 0.151 298.3);
Tailwind
colors: {
  custom: {
    50: '#815fa5',
    500: '#491f7f',
    950: '#000000',
  },
}
SCSS
$custom: #491f7f;
$custom-light: #815fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#491f7f",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 266.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.15111,
    "h": 298.3
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#491F7F
secondary
#84B248
accent
#E4449E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #491F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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