#491779#491779

#491779 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.153 H 301.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#491779
RGBrgb(73, 23, 121)
HSLhsl(271, 68%, 28%)
HSVhsv(271, 81%, 47%)
CMYKcmyk(39.7%, 81%, 0%, 52.5%)
CIE-LABlab(21.62, 42.38, -45.72)
CIE-LCHlch(21.62, 62.34, 312.83°)
OKLaboklab(34.35% 0.0806 -0.1306)
OKLCHoklch(34.35% 0.153 301.7)
XYZxyz(6.5044, 3.4097, 18.4009)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491779 #477917
analogous
#181779 #491779 #791778
triadic
#491779 #794917 #177949
tetradic
#491779 #791817 #477917 #177879
square
#491779 #791817 #477917 #177879
split-complementary
#491779 #787917 #177918
monochromatic
#10051A #2A0D46 #491779 #6821AC #8732D8

Accessibility & contrast

On white

12.49
#491779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#491779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491779
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491779#FFFFFF#000000##FFFFFF
##4917791.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3E3148
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491779;
/* rgb */ color: rgb(73, 23, 121);
/* oklch */ color: oklch(34.4% 0.153 301.7);
Tailwind
colors: {
  custom: {
    50: '#815ba1',
    500: '#491779',
    950: '#000000',
  },
}
SCSS
$custom: #491779;
$custom-light: #815ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#491779",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 270.612,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34354,
    "c": 0.15344,
    "h": 301.7
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#491779
secondary
#75AE3E
accent
#EB3D92
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491779

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

Preview Lab → · Contrast checker → · Palette generator →

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