#591874#591874

#591874 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.152 H 313.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#591874
RGBrgb(89, 24, 116)
HSLhsl(282, 66%, 27%)
HSVhsv(282, 79%, 45%)
CMYKcmyk(23.3%, 79.3%, 0%, 54.5%)
CIE-LABlab(23.80, 43.85, -38.86)
CIE-LCHlch(23.80, 58.59, 318.45°)
OKLaboklab(36.27% 0.1046 -0.1098)
OKLCHoklch(36.27% 0.152 313.6)
XYZxyz(7.5983, 4.0383, 16.8988)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591874 #337418
analogous
#2B1874 #591874 #741861
triadic
#591874 #745918 #187459
tetradic
#591874 #742B18 #337418 #186174
square
#591874 #742B18 #337418 #186174
split-complementary
#591874 #617418 #18742B
monochromatic
#130519 #320E41 #591874 #8022A7 #A532D5

Accessibility & contrast

On white

11.62
#591874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#591874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591874
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591874#FFFFFF#000000##FFFFFF
##5918741.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#0F3A72
Tritanopia (blue-blind)
#562D45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #591874;
/* rgb */ color: rgb(89, 24, 116);
/* oklch */ color: oklch(36.3% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#8c5d9d',
    500: '#591874',
    950: '#000000',
  },
}
SCSS
$custom: #591874;
$custom-light: #8c5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#591874",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 282.391,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3627,
    "c": 0.15164,
    "h": 313.6
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#591874
secondary
#5EA93F
accent
#E93F71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #591874

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

Preview Lab → · Contrast checker → · Palette generator →

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