#491271#491271

#491271 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.150 H 305.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#491271
RGBrgb(73, 18, 113)
HSLhsl(275, 73%, 26%)
HSVhsv(275, 84%, 44%)
CMYKcmyk(35.4%, 84.1%, 0%, 55.7%)
CIE-LABlab(20.21, 42.39, -42.88)
CIE-LCHlch(20.21, 60.29, 314.67°)
OKLaboklab(33.15% 0.0872 -0.1222)
OKLCHoklch(33.15% 0.15 305.5)
XYZxyz(5.9439, 3.0414, 15.8935)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491271 #3A7112
analogous
#1A1271 #491271 #711269
triadic
#491271 #714912 #127149
tetradic
#491271 #711A12 #3A7112 #126971
square
#491271 #711A12 #3A7112 #126971
split-complementary
#491271 #697112 #12711A
monochromatic
#11041A #270A3C #491271 #6B1AA6 #8D23DB

Accessibility & contrast

On white

13.06
#491271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#491271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491271
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491271#FFFFFF#000000##FFFFFF
##4912711.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#412C42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #491271;
/* rgb */ color: rgb(73, 18, 113);
/* oklch */ color: oklch(33.2% 0.150 305.5);
Tailwind
colors: {
  custom: {
    50: '#81589b',
    500: '#491271',
    950: '#000000',
  },
}
SCSS
$custom: #491271;
$custom-light: #81589b;
$custom-dark: #000000;
JSON
{
  "hex": "#491271",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 274.737,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33151,
    "c": 0.15011,
    "h": 305.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#491271
secondary
#66A837
accent
#EF3985
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491271

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

Preview Lab → · Contrast checker → · Palette generator →

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