#491F87#491F87

#491F87 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.160 H 295.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#491F87
RGBrgb(73, 31, 135)
HSLhsl(264, 63%, 33%)
HSVhsv(264, 77%, 53%)
CMYKcmyk(45.9%, 77%, 0%, 47.1%)
CIE-LABlab(24.15, 42.45, -50.44)
CIE-LCHlch(24.15, 65.92, 310.09°)
OKLaboklab(36.52% 0.0696 -0.1445)
OKLCHoklch(36.52% 0.16 295.7)
XYZxyz(7.6096, 4.1455, 23.3162)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491F87 #5D871F
analogous
#1F2987 #491F87 #7D1F87
triadic
#491F87 #87491F #1F8749
tetradic
#491F87 #871F29 #5D871F #1F877D
square
#491F87 #871F29 #5D871F #1F877D
split-complementary
#491F87 #877D1F #29871F
monochromatic
#130823 #2E1455 #491F87 #642AB9 #834BD6

Accessibility & contrast

On white

11.48
#491F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#491F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491F87
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491F87#FFFFFF#000000##FFFFFF
##491F871.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#383B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #491f87;
/* rgb */ color: rgb(73, 31, 135);
/* oklch */ color: oklch(36.5% 0.160 295.7);
Tailwind
colors: {
  custom: {
    50: '#825fab',
    500: '#491f87',
    950: '#000000',
  },
}
SCSS
$custom: #491f87;
$custom-light: #825fab;
$custom-dark: #000000;
JSON
{
  "hex": "#491f87",
  "rgb": {
    "r": 73,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 264.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3652,
    "c": 0.16034,
    "h": 295.7
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#491F87
secondary
#8CB84A
accent
#E642A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #491F87

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

Preview Lab → · Contrast checker → · Palette generator →

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