#593179#593179

#593179 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.121 H 307.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#593179
RGBrgb(89, 49, 121)
HSLhsl(273, 42%, 33%)
HSVhsv(273, 60%, 47%)
CMYKcmyk(26.4%, 59.5%, 0%, 52.5%)
CIE-LABlab(28.65, 32.63, -34.25)
CIE-LCHlch(28.65, 47.31, 313.61°)
OKLaboklab(39.87% 0.0738 -0.0964)
OKLCHoklch(39.87% 0.121 307.4)
XYZxyz(8.6686, 5.7011, 18.7292)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593179 #517931
analogous
#353179 #593179 #793175
triadic
#593179 #795931 #317959
tetradic
#593179 #793531 #517931 #317579
square
#593179 #793531 #517931 #317579
split-complementary
#593179 #757931 #317935
monochromatic
#190E22 #391F4D #593179 #7943A5 #9764C0

Accessibility & contrast

On white

9.81
#593179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#593179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593179
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593179#FFFFFF#000000##FFFFFF
##5931791.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#543F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #593179;
/* rgb */ color: rgb(89, 49, 121);
/* oklch */ color: oklch(39.9% 0.121 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ba0',
    500: '#593179',
    950: '#000000',
  },
}
SCSS
$custom: #593179;
$custom-light: #8a6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#593179",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 273.333,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.12143,
    "h": 307.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#593179
secondary
#7FA85E
accent
#D2568D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #593179

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

Preview Lab → · Contrast checker → · Palette generator →

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