#592157#592157

#592157 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.3% C 0.110 H 329.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#592157
RGBrgb(89, 33, 87)
HSLhsl(302, 46%, 24%)
HSVhsv(302, 63%, 35%)
CMYKcmyk(0%, 62.9%, 2.2%, 65.1%)
CIE-LABlab(23.34, 33.68, -20.67)
CIE-LCHlch(23.34, 39.52, 328.47°)
OKLaboklab(35.33% 0.0946 -0.0568)
OKLCHoklch(35.33% 0.11 329)
XYZxyz(6.3839, 3.9001, 9.4315)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592157 #215923
analogous
#3F2159 #592157 #59213B
triadic
#592157 #575921 #215759
tetradic
#592157 #593F21 #215923 #213B59
square
#592157 #593F21 #215923 #213B59
split-complementary
#592157 #3B5921 #21593F
monochromatic
#160816 #2C102B #592157 #863283 #B242AE

Accessibility & contrast

On white

11.80
#592157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#592157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592157
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592157#FFFFFF#000000##FFFFFF
##5921571.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#2F3A55
Tritanopia (blue-blind)
#5C2738
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #592157;
/* rgb */ color: rgb(89, 33, 87);
/* oklch */ color: oklch(35.3% 0.110 329.0);
Tailwind
colors: {
  custom: {
    50: '#8a6086',
    500: '#592157',
    950: '#000000',
  },
}
SCSS
$custom: #592157;
$custom-light: #8a6086;
$custom-dark: #000000;
JSON
{
  "hex": "#592157",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 302.143,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35329,
    "c": 0.11039,
    "h": 329
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#592157
secondary
#498D4B
accent
#D65752
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #592157

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

Preview Lab → · Contrast checker → · Palette generator →

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