#491158#491158

#491158 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.126 H 318.1°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#491158
RGBrgb(73, 17, 88)
HSLhsl(287, 68%, 21%)
HSVhsv(287, 81%, 35%)
CMYKcmyk(17%, 80.7%, 0%, 65.5%)
CIE-LABlab(18.02, 37.01, -29.96)
CIE-LCHlch(18.02, 47.62, 321.01°)
OKLaboklab(30.97% 0.0937 -0.0842)
OKLCHoklch(30.97% 0.126 318.1)
XYZxyz(4.7093, 2.5222, 9.4694)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#491158 #205811
analogous
#251158 #491158 #581143
triadic
#491158 #584911 #115849
tetradic
#491158 #582511 #205811 #114358
square
#491158 #582511 #205811 #114358
split-complementary
#491158 #435811 #115825
monochromatic
#15051A #1E0725 #491158 #741B8B #9E25BF

Accessibility & contrast

On white

13.96
#491158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#491158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #491158
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##491158#FFFFFF#000000##FFFFFF
##4911581.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#142E56
Tritanopia (blue-blind)
#492034
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #491158;
/* rgb */ color: rgb(73, 17, 88);
/* oklch */ color: oklch(31.0% 0.126 318.1);
Tailwind
colors: {
  custom: {
    50: '#7f5688',
    500: '#491158',
    950: '#000000',
  },
}
SCSS
$custom: #491158;
$custom-light: #7f5688;
$custom-dark: #000000;
JSON
{
  "hex": "#491158",
  "rgb": {
    "r": 73,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 287.324,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.12599,
    "h": 318.1
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#491158
secondary
#489134
accent
#EA3D62
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #491158

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

Preview Lab → · Contrast checker → · Palette generator →

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