#491771#491771

#491771 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.145 H 304.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#491771
RGBrgb(73, 23, 113)
HSLhsl(273, 66%, 27%)
HSVhsv(273, 80%, 44%)
CMYKcmyk(35.4%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.91, 40.37, -41.73)
CIE-LCHlch(20.91, 58.06, 314.05°)
OKLaboklab(33.64% 0.0828 -0.1188)
OKLCHoklch(33.64% 0.145 304.9)
XYZxyz(6.0340, 3.2215, 15.9235)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491771 #3F7117
analogous
#1C1771 #491771 #71176C
triadic
#491771 #714917 #177149
tetradic
#491771 #711C17 #3F7117 #176C71
square
#491771 #711C17 #3F7117 #176C71
split-complementary
#491771 #6C7117 #17711C
monochromatic
#100519 #280D3E #491771 #6A21A4 #8A2ED4

Accessibility & contrast

On white

12.77
#491771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#491771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491771
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491771#FFFFFF#000000##FFFFFF
##4917711.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#412E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #491771;
/* rgb */ color: rgb(73, 23, 113);
/* oklch */ color: oklch(33.6% 0.145 304.9);
Tailwind
colors: {
  custom: {
    50: '#805a9b',
    500: '#491771',
    950: '#000000',
  },
}
SCSS
$custom: #491771;
$custom-light: #805a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#491771",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 273.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.14483,
    "h": 304.9
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#491771
secondary
#6CA73D
accent
#E93F8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491771

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

Preview Lab → · Contrast checker → · Palette generator →

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