#491B78#491B78

#491B78 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.148 H 301.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#491B78
RGBrgb(73, 27, 120)
HSLhsl(270, 63%, 29%)
HSVhsv(270, 78%, 47%)
CMYKcmyk(39.2%, 77.5%, 0%, 52.9%)
CIE-LABlab(22.15, 40.34, -44.21)
CIE-LCHlch(22.15, 59.85, 312.38°)
OKLaboklab(34.7% 0.0772 -0.1262)
OKLCHoklch(34.7% 0.148 301.4)
XYZxyz(6.5289, 3.5564, 18.1081)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491B78 #4A781B
analogous
#1B1C78 #491B78 #781B78
triadic
#491B78 #78491B #1B7849
tetradic
#491B78 #781B1C #4A781B #1B7878
square
#491B78 #781B1C #4A781B #1B7878
split-complementary
#491B78 #78781B #1C781B
monochromatic
#0F0619 #2B1046 #491B78 #6726AA #863BD3

Accessibility & contrast

On white

12.27
#491B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#491B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491B78
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491B78#FFFFFF#000000##FFFFFF
##491B781.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491b78;
/* rgb */ color: rgb(73, 27, 120);
/* oklch */ color: oklch(34.7% 0.148 301.4);
Tailwind
colors: {
  custom: {
    50: '#815ca0',
    500: '#491b78',
    950: '#000000',
  },
}
SCSS
$custom: #491b78;
$custom-light: #815ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#491b78",
  "rgb": {
    "r": 73,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 269.677,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.347,
    "c": 0.14789,
    "h": 301.4
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#491B78
secondary
#78AC43
accent
#E64195
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #491B78

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

Preview Lab → · Contrast checker → · Palette generator →

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