#491879#491879

#491879 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.152 H 301.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#491879
RGBrgb(73, 24, 121)
HSLhsl(270, 67%, 28%)
HSVhsv(270, 80%, 47%)
CMYKcmyk(39.7%, 80.2%, 0%, 52.5%)
CIE-LABlab(21.76, 41.95, -45.48)
CIE-LCHlch(21.76, 61.87, 312.69°)
OKLaboklab(34.46% 0.0797 -0.1299)
OKLCHoklch(34.46% 0.152 301.5)
XYZxyz(6.5246, 3.4502, 18.4077)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491879 #487918
analogous
#181879 #491879 #791878
triadic
#491879 #794918 #187949
tetradic
#491879 #791818 #487918 #187879
square
#491879 #791818 #487918 #187879
split-complementary
#491879 #787918 #187918
monochromatic
#0F051A #2A0E46 #491879 #6822AC #8735D7

Accessibility & contrast

On white

12.43
#491879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#491879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491879
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491879#FFFFFF#000000##FFFFFF
##4918791.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#3E3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #491879;
/* rgb */ color: rgb(73, 24, 121);
/* oklch */ color: oklch(34.5% 0.152 301.5);
Tailwind
colors: {
  custom: {
    50: '#815ba1',
    500: '#491879',
    950: '#000000',
  },
}
SCSS
$custom: #491879;
$custom-light: #815ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#491879",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 270.309,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34458,
    "c": 0.15238,
    "h": 301.5
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#491879
secondary
#76AE3F
accent
#EA3E93
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491879

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

Preview Lab → · Contrast checker → · Palette generator →

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