#592871#592871

#592871 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.0% C 0.127 H 312.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#592871
RGBrgb(89, 40, 113)
HSLhsl(280, 48%, 30%)
HSVhsv(280, 65%, 44%)
CMYKcmyk(21.2%, 64.6%, 0%, 55.7%)
CIE-LABlab(26.26, 35.69, -32.99)
CIE-LCHlch(26.26, 48.60, 317.25°)
OKLaboklab(37.96% 0.0862 -0.0927)
OKLCHoklch(37.96% 0.127 312.9)
XYZxyz(7.8587, 4.8339, 16.1386)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592871 #407128
analogous
#352871 #592871 #712864
triadic
#592871 #715928 #287159
tetradic
#592871 #713528 #407128 #286471
square
#592871 #713528 #407128 #286471
split-complementary
#592871 #647128 #287135
monochromatic
#120817 #351844 #592871 #7D389E #9D52C2

Accessibility & contrast

On white

10.68
#592871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#592871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592871
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592871#FFFFFF#000000##FFFFFF
##5928711.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C73
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#573648
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #592871;
/* rgb */ color: rgb(89, 40, 113);
/* oklch */ color: oklch(38.0% 0.127 312.9);
Tailwind
colors: {
  custom: {
    50: '#8a659a',
    500: '#592871',
    950: '#000000',
  },
}
SCSS
$custom: #592871;
$custom-light: #8a659a;
$custom-dark: #000000;
JSON
{
  "hex": "#592871",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 280.274,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.12656,
    "h": 312.9
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#592871
secondary
#6CA352
accent
#D7507D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #592871

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

Preview Lab → · Contrast checker → · Palette generator →

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