#591257#591257

#591257 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.132 H 329.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#591257
RGBrgb(89, 18, 87)
HSLhsl(302, 66%, 21%)
HSVhsv(302, 80%, 35%)
CMYKcmyk(0%, 79.8%, 2.2%, 65.1%)
CIE-LABlab(21.00, 40.23, -24.36)
CIE-LCHlch(21.00, 47.03, 328.81°)
OKLaboklab(33.64% 0.1133 -0.0674)
OKLCHoklch(33.64% 0.132 329.3)
XYZxyz(6.0564, 3.2450, 9.3223)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591257 #125914
analogous
#371259 #591257 #591233
triadic
#591257 #575912 #125759
tetradic
#591257 #593712 #125914 #123359
square
#591257 #593712 #125914 #123359
split-complementary
#591257 #335912 #125937
monochromatic
#190519 #260825 #591257 #8C1C89 #BF27BB

Accessibility & contrast

On white

12.73
#591257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#591257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591257
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591257#FFFFFF#000000##FFFFFF
##5912571.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C59
Deuteranopia (green-blind)
#273655
Tritanopia (blue-blind)
#5C1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #591257;
/* rgb */ color: rgb(89, 18, 87);
/* oklch */ color: oklch(33.6% 0.132 329.3);
Tailwind
colors: {
  custom: {
    50: '#8b5987',
    500: '#591257',
    950: '#000000',
  },
}
SCSS
$custom: #591257;
$custom-light: #8b5987;
$custom-dark: #000000;
JSON
{
  "hex": "#591257",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 301.69,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.13179,
    "h": 329.3
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#591257
secondary
#359238
accent
#E9433F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591257

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

Preview Lab → · Contrast checker → · Palette generator →

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