#491781#491781

#491781 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.162 H 298.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#491781
RGBrgb(73, 23, 129)
HSLhsl(268, 70%, 30%)
HSVhsv(268, 82%, 51%)
CMYKcmyk(43.4%, 82.2%, 0%, 49.4%)
CIE-LABlab(22.35, 44.43, -49.60)
CIE-LCHlch(22.35, 66.59, 311.85°)
OKLaboklab(35.1% 0.0782 -0.1419)
OKLCHoklch(35.1% 0.162 298.8)
XYZxyz(7.0155, 3.6141, 21.0926)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491781 #4F8117
analogous
#171A81 #491781 #7E1781
triadic
#491781 #814917 #178149
tetradic
#491781 #81171A #4F8117 #17817E
square
#491781 #81171A #4F8117 #17817E
split-complementary
#491781 #817E17 #1A8117
monochromatic
#0F051A #2C0E4D #491781 #6620B5 #8537DB

Accessibility & contrast

On white

12.19
#491781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#491781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491781
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491781#FFFFFF#000000##FFFFFF
##4917811.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #491781;
/* rgb */ color: rgb(73, 23, 129);
/* oklch */ color: oklch(35.1% 0.162 298.8);
Tailwind
colors: {
  custom: {
    50: '#825ba6',
    500: '#491781',
    950: '#000000',
  },
}
SCSS
$custom: #491781;
$custom-light: #825ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#491781",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 268.302,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35095,
    "c": 0.16204,
    "h": 298.8
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#491781
secondary
#7DB53E
accent
#ED3B99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #491781

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

Preview Lab → · Contrast checker → · Palette generator →

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