#491B71#491B71

#491B71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.140 H 304.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#491B71
RGBrgb(73, 27, 113)
HSLhsl(272, 61%, 27%)
HSVhsv(272, 76%, 44%)
CMYKcmyk(35.4%, 76.1%, 0%, 55.7%)
CIE-LABlab(21.55, 38.54, -40.69)
CIE-LCHlch(21.55, 56.04, 313.44°)
OKLaboklab(34.09% 0.0787 -0.1158)
OKLCHoklch(34.09% 0.14 304.2)
XYZxyz(6.1195, 3.3926, 15.9520)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491B71 #43711B
analogous
#1E1B71 #491B71 #711B6E
triadic
#491B71 #71491B #1B7149
tetradic
#491B71 #711E1B #43711B #1B6E71
square
#491B71 #711E1B #43711B #1B6E71
split-complementary
#491B71 #6E711B #1B711E
monochromatic
#100619 #290F40 #491B71 #6927A2 #8937CF

Accessibility & contrast

On white

12.51
#491B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#491B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491B71
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491B71#FFFFFF#000000##FFFFFF
##491B711.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#413044
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491b71;
/* rgb */ color: rgb(73, 27, 113);
/* oklch */ color: oklch(34.1% 0.140 304.2);
Tailwind
colors: {
  custom: {
    50: '#805c9a',
    500: '#491b71',
    950: '#000000',
  },
}
SCSS
$custom: #491b71;
$custom-light: #805c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#491b71",
  "rgb": {
    "r": 73,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 272.093,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34094,
    "c": 0.14004,
    "h": 304.2
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#491B71
secondary
#70A642
accent
#E5438E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491B71

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

Preview Lab → · Contrast checker → · Palette generator →

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