#591174#591174

#591174 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.159 H 314.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#591174
RGBrgb(89, 17, 116)
HSLhsl(284, 74%, 26%)
HSVhsv(284, 85%, 45%)
CMYKcmyk(23.3%, 85.3%, 0%, 54.5%)
CIE-LABlab(22.95, 46.30, -40.23)
CIE-LCHlch(22.95, 61.34, 319.01°)
OKLaboklab(35.68% 0.1106 -0.1138)
OKLCHoklch(35.68% 0.159 314.2)
XYZxyz(7.4721, 3.7860, 16.8568)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591174 #2C7411
analogous
#271174 #591174 #74115D
triadic
#591174 #745911 #117459
tetradic
#591174 #742711 #2C7411 #115D74
square
#591174 #742711 #2C7411 #115D74
split-complementary
#591174 #5D7411 #117427
monochromatic
#14041B #30093F #591174 #8219A9 #AB21DE

Accessibility & contrast

On white

11.95
#591174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#591174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591174
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591174#FFFFFF#000000##FFFFFF
##5911741.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#063872
Tritanopia (blue-blind)
#562A44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591174;
/* rgb */ color: rgb(89, 17, 116);
/* oklch */ color: oklch(35.7% 0.159 314.2);
Tailwind
colors: {
  custom: {
    50: '#8c5a9d',
    500: '#591174',
    950: '#000000',
  },
}
SCSS
$custom: #591174;
$custom-light: #8c5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#591174",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 283.636,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35675,
    "c": 0.1587,
    "h": 314.2
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#591174
secondary
#56AB36
accent
#F1376A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591174

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

Preview Lab → · Contrast checker → · Palette generator →

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