#491578#491578

#491578 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.154 H 302.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#491578
RGBrgb(73, 21, 120)
HSLhsl(272, 70%, 28%)
HSVhsv(272, 83%, 47%)
CMYKcmyk(39.2%, 82.5%, 0%, 52.9%)
CIE-LABlab(21.24, 42.95, -45.69)
CIE-LCHlch(21.24, 62.71, 313.23°)
OKLaboklab(34.07% 0.0826 -0.1305)
OKLCHoklch(34.07% 0.154 302.3)
XYZxyz(6.4052, 3.3088, 18.0669)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491578 #447815
analogous
#171578 #491578 #781576
triadic
#491578 #784915 #157849
tetradic
#491578 #781715 #447815 #157678
square
#491578 #781715 #447815 #157678
split-complementary
#491578 #767815 #157817
monochromatic
#10051A #290C44 #491578 #691EAC #882DDA

Accessibility & contrast

On white

12.64
#491578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#491578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491578
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491578#FFFFFF#000000##FFFFFF
##4915781.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#3F3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #491578;
/* rgb */ color: rgb(73, 21, 120);
/* oklch */ color: oklch(34.1% 0.154 302.3);
Tailwind
colors: {
  custom: {
    50: '#815aa0',
    500: '#491578',
    950: '#000000',
  },
}
SCSS
$custom: #491578;
$custom-light: #815aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#491578",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 271.515,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.15443,
    "h": 302.3
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#491578
secondary
#72AE3B
accent
#ED3B8F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491578

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

Preview Lab → · Contrast checker → · Palette generator →

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