#591871#591871

#591871 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.149 H 315.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#591871
RGBrgb(89, 24, 113)
HSLhsl(284, 65%, 27%)
HSVhsv(284, 79%, 44%)
CMYKcmyk(21.2%, 78.8%, 0%, 55.7%)
CIE-LABlab(23.57, 43.19, -37.30)
CIE-LCHlch(23.57, 57.07, 319.19°)
OKLaboklab(36.04% 0.1051 -0.1052)
OKLCHoklch(36.04% 0.149 315)
XYZxyz(7.4266, 3.9696, 15.9946)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591871 #307118
analogous
#2C1871 #591871 #71185D
triadic
#591871 #715918 #187159
tetradic
#591871 #712C18 #307118 #185D71
square
#591871 #712C18 #307118 #185D71
split-complementary
#591871 #5D7118 #18712C
monochromatic
#140519 #310D3F #591871 #8123A3 #A730D3

Accessibility & contrast

On white

11.71
#591871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#591871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591871
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591871#FFFFFF#000000##FFFFFF
##5918711.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#143A6F
Tritanopia (blue-blind)
#572C44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #591871;
/* rgb */ color: rgb(89, 24, 113);
/* oklch */ color: oklch(36.0% 0.149 315.0);
Tailwind
colors: {
  custom: {
    50: '#8b5d9a',
    500: '#591871',
    950: '#000000',
  },
}
SCSS
$custom: #591871;
$custom-light: #8b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#591871",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 283.82,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36038,
    "c": 0.14871,
    "h": 315
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#591871
secondary
#5AA63E
accent
#E8406D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591871

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

Preview Lab → · Contrast checker → · Palette generator →

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