#491171#491171

#491171 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.151 H 305.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#491171
RGBrgb(73, 17, 113)
HSLhsl(275, 74%, 25%)
HSVhsv(275, 85%, 44%)
CMYKcmyk(35.4%, 85%, 0%, 55.7%)
CIE-LABlab(20.08, 42.76, -43.08)
CIE-LCHlch(20.08, 60.70, 314.78°)
OKLaboklab(33.06% 0.088 -0.1228)
OKLCHoklch(33.06% 0.151 305.6)
XYZxyz(5.9281, 3.0097, 15.8882)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491171 #397111
analogous
#191171 #491171 #711169
triadic
#491171 #714911 #117149
tetradic
#491171 #711911 #397111 #116971
square
#491171 #711911 #397111 #116971
split-complementary
#491171 #697111 #117119
monochromatic
#11041B #27093C #491171 #6B19A6 #8E21DB

Accessibility & contrast

On white

13.11
#491171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#491171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491171
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491171#FFFFFF#000000##FFFFFF
##4911711.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#422B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #491171;
/* rgb */ color: rgb(73, 17, 113);
/* oklch */ color: oklch(33.1% 0.151 305.6);
Tailwind
colors: {
  custom: {
    50: '#81579b',
    500: '#491171',
    950: '#000000',
  },
}
SCSS
$custom: #491171;
$custom-light: #81579b;
$custom-dark: #000000;
JSON
{
  "hex": "#491171",
  "rgb": {
    "r": 73,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 275,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.15105,
    "h": 305.6
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#491171
secondary
#65A836
accent
#F13784
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491171

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

Preview Lab → · Contrast checker → · Palette generator →

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