#491F7B#491F7B

#491F7B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.146 H 299.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#491F7B
RGBrgb(73, 31, 123)
HSLhsl(267, 60%, 30%)
HSVhsv(267, 75%, 48%)
CMYKcmyk(40.7%, 74.8%, 0%, 51.8%)
CIE-LABlab(23.09, 39.20, -44.59)
CIE-LCHlch(23.09, 59.37, 311.32°)
OKLaboklab(35.45% 0.0724 -0.1273)
OKLCHoklch(35.45% 0.146 299.6)
XYZxyz(6.8119, 3.8264, 19.1147)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F7B #517B1F
analogous
#1F237B #491F7B #771F7B
triadic
#491F7B #7B491F #1F7B49
tetradic
#491F7B #7B1F23 #517B1F #1F7B77
square
#491F7B #7B1F23 #517B1F #1F7B77
split-complementary
#491F7B #7B771F #237B1F
monochromatic
#0F0619 #2C134A #491F7B #662BAC #8444D0

Accessibility & contrast

On white

11.90
#491F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#491F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F7B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F7B#FFFFFF#000000##FFFFFF
##491F7B1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3D364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #491f7b;
/* rgb */ color: rgb(73, 31, 123);
/* oklch */ color: oklch(35.4% 0.146 299.6);
Tailwind
colors: {
  custom: {
    50: '#815fa2',
    500: '#491f7b',
    950: '#000000',
  },
}
SCSS
$custom: #491f7b;
$custom-light: #815fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#491f7b",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 267.391,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.14647,
    "h": 299.6
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#491F7B
secondary
#7FAE48
accent
#E3459B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #491F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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