#593174#593174

#593174 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.115 H 309.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#593174
RGBrgb(89, 49, 116)
HSLhsl(276, 41%, 32%)
HSVhsv(276, 58%, 45%)
CMYKcmyk(23.3%, 57.8%, 0%, 54.5%)
CIE-LABlab(28.33, 31.37, -31.59)
CIE-LCHlch(28.33, 44.52, 314.80°)
OKLaboklab(39.54% 0.0736 -0.0887)
OKLCHoklch(39.54% 0.115 309.7)
XYZxyz(8.3699, 5.5816, 17.1560)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593174 #4C7431
analogous
#383174 #593174 #74316E
triadic
#593174 #745931 #317459
tetradic
#593174 #743831 #4C7431 #316E74
square
#593174 #743831 #4C7431 #316E74
split-complementary
#593174 #6E7431 #317438
monochromatic
#170D1E #381F49 #593174 #7A439F #9863BD

Accessibility & contrast

On white

9.92
#593174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#593174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593174
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593174#FFFFFF#000000##FFFFFF
##5931741.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#553D4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #593174;
/* rgb */ color: rgb(89, 49, 116);
/* oklch */ color: oklch(39.5% 0.115 309.7);
Tailwind
colors: {
  custom: {
    50: '#8a6b9c',
    500: '#593174',
    950: '#000000',
  },
}
SCSS
$custom: #593174;
$custom-light: #8a6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#593174",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 275.821,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.11521,
    "h": 309.7
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#593174
secondary
#79A45C
accent
#D05788
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593174

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

Preview Lab → · Contrast checker → · Palette generator →

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