#491D87#491D87

#491D87 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.163 H 296.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#491D87
RGBrgb(73, 29, 135)
HSLhsl(265, 65%, 32%)
HSVhsv(265, 79%, 53%)
CMYKcmyk(45.9%, 78.5%, 0%, 47.1%)
CIE-LABlab(23.82, 43.39, -50.98)
CIE-LCHlch(23.82, 66.94, 310.41°)
OKLaboklab(36.29% 0.0713 -0.146)
OKLCHoklch(36.29% 0.163 296)
XYZxyz(7.5590, 4.0443, 23.2993)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491D87 #5B871D
analogous
#1D2687 #491D87 #7E1D87
triadic
#491D87 #87491D #1D8749
tetradic
#491D87 #871D26 #5B871D #1D877E
square
#491D87 #871D26 #5B871D #1D877E
split-complementary
#491D87 #877E1D #26871D
monochromatic
#130722 #2E1255 #491D87 #6428B9 #8347D7

Accessibility & contrast

On white

11.61
#491D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#491D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491D87
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491D87#FFFFFF#000000##FFFFFF
##491D871.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#383A51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #491d87;
/* rgb */ color: rgb(73, 29, 135);
/* oklch */ color: oklch(36.3% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#825eab',
    500: '#491d87',
    950: '#000000',
  },
}
SCSS
$custom: #491d87;
$custom-light: #825eab;
$custom-dark: #000000;
JSON
{
  "hex": "#491d87",
  "rgb": {
    "r": 73,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 264.906,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36289,
    "c": 0.16252,
    "h": 296
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#491D87
secondary
#8AB946
accent
#E840A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #491D87

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

Preview Lab → · Contrast checker → · Palette generator →

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