#591255#591255

#591255 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.130 H 330.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#591255
RGBrgb(89, 18, 85)
HSLhsl(303, 66%, 21%)
HSVhsv(303, 80%, 35%)
CMYKcmyk(0%, 79.8%, 4.5%, 65.1%)
CIE-LABlab(20.88, 39.87, -23.21)
CIE-LCHlch(20.88, 46.13, 329.79°)
OKLaboklab(33.51% 0.1133 -0.064)
OKLCHoklch(33.51% 0.13 330.5)
XYZxyz(5.9758, 3.2128, 8.8980)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591255 #125916
analogous
#391259 #591255 #591231
triadic
#591255 #555912 #125559
tetradic
#591255 #593912 #125916 #123159
square
#591255 #593912 #125916 #123159
split-complementary
#591255 #315912 #125939
monochromatic
#190518 #260824 #591255 #8C1C86 #BF27B6

Accessibility & contrast

On white

12.79
#591255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#591255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591255
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591255#FFFFFF#000000##FFFFFF
##5912551.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C57
Deuteranopia (green-blind)
#283653
Tritanopia (blue-blind)
#5D1B32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #591255;
/* rgb */ color: rgb(89, 18, 85);
/* oklch */ color: oklch(33.5% 0.130 330.5);
Tailwind
colors: {
  custom: {
    50: '#8b5985',
    500: '#591255',
    950: '#000000',
  },
}
SCSS
$custom: #591255;
$custom-light: #8b5985;
$custom-dark: #000000;
JSON
{
  "hex": "#591255",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 303.38,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.13011,
    "h": 330.5
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#591255
secondary
#35923A
accent
#E9483F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #591255

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

Preview Lab → · Contrast checker → · Palette generator →

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