#593178#593178

#593178 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.8% C 0.120 H 307.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#593178
RGBrgb(89, 49, 120)
HSLhsl(274, 42%, 33%)
HSVhsv(274, 59%, 47%)
CMYKcmyk(25.8%, 59.2%, 0%, 52.9%)
CIE-LABlab(28.58, 32.37, -33.72)
CIE-LCHlch(28.58, 46.75, 313.83°)
OKLaboklab(39.8% 0.0738 -0.0949)
OKLCHoklch(39.8% 0.12 307.9)
XYZxyz(8.6076, 5.6767, 18.4079)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593178 #507831
analogous
#353178 #593178 #783173
triadic
#593178 #785931 #317859
tetradic
#593178 #783531 #507831 #317378
square
#593178 #783531 #507831 #317378
split-complementary
#593178 #737831 #317835
monochromatic
#190E21 #391F4D #593178 #7943A3 #9864C0

Accessibility & contrast

On white

9.83
#593178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #593178
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593178#FFFFFF#000000##FFFFFF
##5931781.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#543E4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #593178;
/* rgb */ color: rgb(89, 49, 120);
/* oklch */ color: oklch(39.8% 0.120 307.9);
Tailwind
colors: {
  custom: {
    50: '#8a6b9f',
    500: '#593178',
    950: '#000000',
  },
}
SCSS
$custom: #593178;
$custom-light: #8a6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#593178",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 273.803,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.12019,
    "h": 307.9
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#593178
secondary
#7EA75E
accent
#D2568C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593178

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

Preview Lab → · Contrast checker → · Palette generator →

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