#593166#593166

#593166 is a dark, moderate purple. Relative luminance 0.053; OKLCH L 38.7% C 0.098 H 317.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#593166
RGBrgb(89, 49, 102)
HSLhsl(285, 35%, 30%)
HSVhsv(285, 52%, 40%)
CMYKcmyk(12.7%, 52%, 0%, 60%)
CIE-LABlab(27.52, 27.98, -23.92)
CIE-LCHlch(27.52, 36.81, 319.48°)
OKLaboklab(38.67% 0.0721 -0.0663)
OKLCHoklch(38.67% 0.098 317.4)
XYZxyz(7.6161, 5.2800, 13.1858)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593166 #3E6631
analogous
#3F3166 #593166 #663159
triadic
#593166 #665931 #316659
tetradic
#593166 #663F31 #3E6631 #315966
square
#593166 #663F31 #3E6631 #315966
split-complementary
#593166 #596631 #31663F
monochromatic
#120A15 #351D3D #593166 #7D458F #9E5FB2

Accessibility & contrast

On white

10.21
#593166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#593166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593166
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593166#FFFFFF#000000##FFFFFF
##5931661.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#334265
Tritanopia (blue-blind)
#593946
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #593166;
/* rgb */ color: rgb(89, 49, 102);
/* oklch */ color: oklch(38.7% 0.098 317.4);
Tailwind
colors: {
  custom: {
    50: '#896a92',
    500: '#593166',
    950: '#000000',
  },
}
SCSS
$custom: #593166;
$custom-light: #896a92;
$custom-dark: #000000;
JSON
{
  "hex": "#593166",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 285.283,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.09799,
    "h": 317.4
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#593166
secondary
#6A975C
accent
#CB5D78
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #593166

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

Preview Lab → · Contrast checker → · Palette generator →

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