#591256#591256

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

Color values

HEX#591256
RGBrgb(89, 18, 86)
HSLhsl(303, 66%, 21%)
HSVhsv(303, 80%, 35%)
CMYKcmyk(0%, 79.8%, 3.4%, 65.1%)
CIE-LABlab(20.94, 40.05, -23.78)
CIE-LCHlch(20.94, 46.58, 329.29°)
OKLaboklab(33.57% 0.1133 -0.0657)
OKLCHoklch(33.57% 0.131 329.9)
XYZxyz(6.0158, 3.2288, 9.1087)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591256 #125915
analogous
#381259 #591256 #591232
triadic
#591256 #565912 #125659
tetradic
#591256 #593812 #125915 #123259
square
#591256 #593812 #125915 #123259
split-complementary
#591256 #325912 #125938
monochromatic
#190519 #260825 #591256 #8C1C87 #BF27B8

Accessibility & contrast

On white

12.76
#591256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591256
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591256#FFFFFF#000000##FFFFFF
##5912561.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C58
Deuteranopia (green-blind)
#273654
Tritanopia (blue-blind)
#5D1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #591256;
/* rgb */ color: rgb(89, 18, 86);
/* oklch */ color: oklch(33.6% 0.131 329.9);
Tailwind
colors: {
  custom: {
    50: '#8b5986',
    500: '#591256',
    950: '#000000',
  },
}
SCSS
$custom: #591256;
$custom-light: #8b5986;
$custom-dark: #000000;
JSON
{
  "hex": "#591256",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 302.535,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.13095,
    "h": 329.9
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#591256
secondary
#359239
accent
#E9463F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591256

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

Preview Lab → · Contrast checker → · Palette generator →

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