#591273#591273

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

Color values

HEX#591273
RGBrgb(89, 18, 115)
HSLhsl(284, 73%, 26%)
HSVhsv(284, 84%, 45%)
CMYKcmyk(22.6%, 84.3%, 0%, 54.9%)
CIE-LABlab(22.98, 45.77, -39.54)
CIE-LCHlch(22.98, 60.49, 319.18°)
OKLaboklab(35.67% 0.1101 -0.1118)
OKLCHoklch(35.67% 0.157 314.6)
XYZxyz(7.4301, 3.7945, 16.5574)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591273 #2C7312
analogous
#291273 #591273 #73125C
triadic
#591273 #735912 #127359
tetradic
#591273 #732912 #2C7312 #125C73
square
#591273 #732912 #2C7312 #125C73
split-complementary
#591273 #5C7312 #127329
monochromatic
#14041A #300A3E #591273 #821AA8 #AB23DD

Accessibility & contrast

On white

11.94
#591273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591273
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591273#FFFFFF#000000##FFFFFF
##5912731.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#093871
Tritanopia (blue-blind)
#572A43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #591273;
/* rgb */ color: rgb(89, 18, 115);
/* oklch */ color: oklch(35.7% 0.157 314.6);
Tailwind
colors: {
  custom: {
    50: '#8c5a9c',
    500: '#591273',
    950: '#000000',
  },
}
SCSS
$custom: #591273;
$custom-light: #8c5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#591273",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 283.918,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.15687,
    "h": 314.6
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#591273
secondary
#56AA37
accent
#F03869
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #591273

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

Preview Lab → · Contrast checker → · Palette generator →

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