#491C78#491C78

#491C78 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 301.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#491C78
RGBrgb(73, 28, 120)
HSLhsl(269, 62%, 29%)
HSVhsv(269, 77%, 47%)
CMYKcmyk(39.2%, 76.7%, 0%, 52.9%)
CIE-LABlab(22.31, 39.87, -43.94)
CIE-LCHlch(22.31, 59.34, 312.22°)
OKLaboklab(34.82% 0.0762 -0.1254)
OKLCHoklch(34.82% 0.147 301.3)
XYZxyz(6.5522, 3.6030, 18.1159)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491C78 #4B781C
analogous
#1C1D78 #491C78 #771C78
triadic
#491C78 #78491C #1C7849
tetradic
#491C78 #781C1D #4B781C #1C7877
square
#491C78 #781C1D #4B781C #1C7877
split-complementary
#491C78 #78771C #1D781C
monochromatic
#0F0619 #2B1046 #491C78 #6728AA #863DD2

Accessibility & contrast

On white

12.21
#491C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#491C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491C78
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491C78#FFFFFF#000000##FFFFFF
##491C781.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#3F3348
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #491c78;
/* rgb */ color: rgb(73, 28, 120);
/* oklch */ color: oklch(34.8% 0.147 301.3);
Tailwind
colors: {
  custom: {
    50: '#815da0',
    500: '#491c78',
    950: '#000000',
  },
}
SCSS
$custom: #491c78;
$custom-light: #815da0;
$custom-dark: #000000;
JSON
{
  "hex": "#491c78",
  "rgb": {
    "r": 73,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 269.348,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.1467,
    "h": 301.3
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#491C78
secondary
#79AC44
accent
#E54396
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491C78

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

Preview Lab → · Contrast checker → · Palette generator →

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