#592158#592158

#592158 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.4% C 0.111 H 328.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#592158
RGBrgb(89, 33, 88)
HSLhsl(301, 46%, 24%)
HSVhsv(301, 63%, 35%)
CMYKcmyk(0%, 62.9%, 1.1%, 65.1%)
CIE-LABlab(23.39, 33.88, -21.24)
CIE-LCHlch(23.39, 39.99, 327.91°)
OKLaboklab(35.39% 0.0948 -0.0585)
OKLCHoklch(35.39% 0.111 328.3)
XYZxyz(6.4250, 3.9166, 9.6482)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592158 #215922
analogous
#3E2159 #592158 #59213C
triadic
#592158 #585921 #215859
tetradic
#592158 #593E21 #215922 #213C59
square
#592158 #593E21 #215922 #213C59
split-complementary
#592158 #3C5921 #21593E
monochromatic
#160816 #2C102C #592158 #863284 #B242B0

Accessibility & contrast

On white

11.78
#592158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592158
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592158#FFFFFF#000000##FFFFFF
##5921581.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335A
Deuteranopia (green-blind)
#2E3A56
Tritanopia (blue-blind)
#5C2739
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #592158;
/* rgb */ color: rgb(89, 33, 88);
/* oklch */ color: oklch(35.4% 0.111 328.3);
Tailwind
colors: {
  custom: {
    50: '#8a6087',
    500: '#592158',
    950: '#000000',
  },
}
SCSS
$custom: #592158;
$custom-light: #8a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#592158",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 301.071,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.11136,
    "h": 328.3
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#592158
secondary
#498D4A
accent
#D65552
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #592158

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

Preview Lab → · Contrast checker → · Palette generator →

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