#491579#491579

#491579 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.155 H 302.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#491579
RGBrgb(73, 21, 121)
HSLhsl(271, 70%, 28%)
HSVhsv(271, 83%, 47%)
CMYKcmyk(39.7%, 82.6%, 0%, 52.5%)
CIE-LABlab(21.33, 43.20, -46.18)
CIE-LCHlch(21.33, 63.24, 313.09°)
OKLaboklab(34.16% 0.0823 -0.1319)
OKLCHoklch(34.16% 0.155 302)
XYZxyz(6.4662, 3.3332, 18.3882)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491579 #457915
analogous
#171579 #491579 #791577
triadic
#491579 #794915 #157949
tetradic
#491579 #791715 #457915 #157779
square
#491579 #791715 #457915 #157779
split-complementary
#491579 #777915 #157917
monochromatic
#10051A #2A0C45 #491579 #681EAD #882EDB

Accessibility & contrast

On white

12.60
#491579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#491579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491579
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491579#FFFFFF#000000##FFFFFF
##4915791.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3E3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491579;
/* rgb */ color: rgb(73, 21, 121);
/* oklch */ color: oklch(34.2% 0.155 302.0);
Tailwind
colors: {
  custom: {
    50: '#815aa1',
    500: '#491579',
    950: '#000000',
  },
}
SCSS
$custom: #491579;
$custom-light: #815aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#491579",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 271.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34157,
    "c": 0.15548,
    "h": 302
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#491579
secondary
#73AF3B
accent
#ED3B90
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491579

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

Preview Lab → · Contrast checker → · Palette generator →

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