#491971#491971

#491971 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.142 H 304.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#491971
RGBrgb(73, 25, 113)
HSLhsl(273, 64%, 27%)
HSVhsv(273, 78%, 44%)
CMYKcmyk(35.4%, 77.9%, 0%, 55.7%)
CIE-LABlab(21.22, 39.47, -41.23)
CIE-LCHlch(21.22, 57.08, 313.76°)
OKLaboklab(33.86% 0.0808 -0.1174)
OKLCHoklch(33.86% 0.142 304.5)
XYZxyz(6.0752, 3.3040, 15.9373)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491971 #417119
analogous
#1D1971 #491971 #71196D
triadic
#491971 #714919 #197149
tetradic
#491971 #711D19 #417119 #196D71
square
#491971 #711D19 #417119 #196D71
split-complementary
#491971 #6D7119 #19711D
monochromatic
#100619 #290E3F #491971 #6924A3 #8933D2

Accessibility & contrast

On white

12.64
#491971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#491971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491971
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491971#FFFFFF#000000##FFFFFF
##4919711.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#412F44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491971;
/* rgb */ color: rgb(73, 25, 113);
/* oklch */ color: oklch(33.9% 0.142 304.5);
Tailwind
colors: {
  custom: {
    50: '#805b9a',
    500: '#491971',
    950: '#000000',
  },
}
SCSS
$custom: #491971;
$custom-light: #805b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#491971",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 272.727,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.14249,
    "h": 304.5
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#491971
secondary
#6EA640
accent
#E7418C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491971

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

Preview Lab → · Contrast checker → · Palette generator →

#491971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva