#491B79#491B79

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

Color values

HEX#491B79
RGBrgb(73, 27, 121)
HSLhsl(269, 64%, 29%)
HSVhsv(269, 78%, 47%)
CMYKcmyk(39.7%, 77.7%, 0%, 52.5%)
CIE-LABlab(22.23, 40.61, -44.71)
CIE-LCHlch(22.23, 60.40, 312.24°)
OKLaboklab(34.79% 0.0769 -0.1276)
OKLCHoklch(34.79% 0.149 301.1)
XYZxyz(6.5899, 3.5808, 18.4294)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491B79 #4B791B
analogous
#1B1C79 #491B79 #781B79
triadic
#491B79 #79491B #1B7949
tetradic
#491B79 #791B1C #4B791B #1B7978
square
#491B79 #791B1C #4B791B #1B7978
split-complementary
#491B79 #79781B #1C791B
monochromatic
#0F0619 #2B1047 #491B79 #6726AB #863BD3

Accessibility & contrast

On white

12.24
#491B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491B79
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491B79#FFFFFF#000000##FFFFFF
##491B791.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3E3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #491b79;
/* rgb */ color: rgb(73, 27, 121);
/* oklch */ color: oklch(34.8% 0.149 301.1);
Tailwind
colors: {
  custom: {
    50: '#815da0',
    500: '#491b79',
    950: '#000000',
  },
}
SCSS
$custom: #491b79;
$custom-light: #815da0;
$custom-dark: #000000;
JSON
{
  "hex": "#491b79",
  "rgb": {
    "r": 73,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 269.362,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34788,
    "c": 0.14901,
    "h": 301.1
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#491B79
secondary
#79AD43
accent
#E74196
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491B79

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

Preview Lab → · Contrast checker → · Palette generator →

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