#593797#593797

#593797 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.150 H 295.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#593797
RGBrgb(89, 55, 151)
HSLhsl(261, 47%, 40%)
HSVhsv(261, 64%, 59%)
CMYKcmyk(41.1%, 63.6%, 0%, 40.8%)
CIE-LABlab(32.01, 37.23, -47.45)
CIE-LCHlch(32.01, 60.31, 308.12°)
OKLaboklab(42.99% 0.0652 -0.1352)
OKLCHoklch(42.99% 0.15 295.7)
XYZxyz(11.0705, 7.0904, 30.0575)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593797 #759737
analogous
#374597 #593797 #893797
triadic
#593797 #975937 #379759
tetradic
#593797 #973745 #759737 #379789
square
#593797 #973745 #759737 #379789
split-complementary
#593797 #978937 #459737
monochromatic
#24163D #3F276A #593797 #754DBE #987ACF

Accessibility & contrast

On white

8.68
#593797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#593797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593797
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593797#FFFFFF#000000##FFFFFF
##5937971.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#494D62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #593797;
/* rgb */ color: rgb(89, 55, 151);
/* oklch */ color: oklch(43.0% 0.150 295.7);
Tailwind
colors: {
  custom: {
    50: '#8d70b6',
    500: '#593797',
    950: '#000000',
  },
}
SCSS
$custom: #593797;
$custom-light: #8d70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#593797",
  "rgb": {
    "r": 89,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 261.25,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.15008,
    "h": 295.7
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#593797
secondary
#9FB872
accent
#D652A7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #593797

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

Preview Lab → · Contrast checker → · Palette generator →

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