#491172#491172

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

Color values

HEX#491172
RGBrgb(73, 17, 114)
HSLhsl(275, 74%, 26%)
HSVhsv(275, 85%, 45%)
CMYKcmyk(36%, 85.1%, 0%, 55.3%)
CIE-LABlab(20.17, 43.00, -43.58)
CIE-LCHlch(20.17, 61.22, 314.62°)
OKLaboklab(33.15% 0.0877 -0.1242)
OKLCHoklch(33.15% 0.152 305.2)
XYZxyz(5.9847, 3.0323, 16.1863)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491172 #3A7211
analogous
#181172 #491172 #72116A
triadic
#491172 #724911 #117249
tetradic
#491172 #721811 #3A7211 #116A72
square
#491172 #721811 #3A7211 #116A72
split-complementary
#491172 #6A7211 #117218
monochromatic
#11041B #27093D #491172 #6B19A7 #8D21DD

Accessibility & contrast

On white

13.07
#491172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #491172
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491172#FFFFFF#000000##FFFFFF
##4911721.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#412C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #491172;
/* rgb */ color: rgb(73, 17, 114);
/* oklch */ color: oklch(33.2% 0.152 305.2);
Tailwind
colors: {
  custom: {
    50: '#81589b',
    500: '#491172',
    950: '#000000',
  },
}
SCSS
$custom: #491172;
$custom-light: #81589b;
$custom-dark: #000000;
JSON
{
  "hex": "#491172",
  "rgb": {
    "r": 73,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 274.639,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.15207,
    "h": 305.2
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#491172
secondary
#66A936
accent
#F13786
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #491172

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

Preview Lab → · Contrast checker → · Palette generator →

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