#491581#491581

#491581 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.164 H 299.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#491581
RGBrgb(73, 21, 129)
HSLhsl(269, 72%, 29%)
HSVhsv(269, 84%, 51%)
CMYKcmyk(43.4%, 83.7%, 0%, 49.4%)
CIE-LABlab(22.08, 45.22, -50.04)
CIE-LCHlch(22.08, 67.45, 312.10°)
OKLaboklab(34.91% 0.0797 -0.1432)
OKLCHoklch(34.91% 0.164 299.1)
XYZxyz(6.9773, 3.5377, 21.0799)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491581 #4D8115
analogous
#151781 #491581 #7F1581
triadic
#491581 #814915 #158149
tetradic
#491581 #811517 #4D8115 #15817F
square
#491581 #811517 #4D8115 #15817F
split-complementary
#491581 #817F15 #178115
monochromatic
#0F041A #2B0C4C #491581 #671EB6 #8533DE

Accessibility & contrast

On white

12.30
#491581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#491581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491581
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491581#FFFFFF#000000##FFFFFF
##4915811.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#3B344C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #491581;
/* rgb */ color: rgb(73, 21, 129);
/* oklch */ color: oklch(34.9% 0.164 299.1);
Tailwind
colors: {
  custom: {
    50: '#825aa7',
    500: '#491581',
    950: '#000000',
  },
}
SCSS
$custom: #491581;
$custom-light: #825aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#491581",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 268.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34906,
    "c": 0.16392,
    "h": 299.1
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#491581
secondary
#7BB63C
accent
#EF3997
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491581

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

Preview Lab → · Contrast checker → · Palette generator →

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