#593187#593187

#593187 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.139 H 302.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#593187
RGBrgb(89, 49, 135)
HSLhsl(268, 47%, 36%)
HSVhsv(268, 64%, 53%)
CMYKcmyk(34.1%, 63.7%, 0%, 47.1%)
CIE-LABlab(29.59, 36.28, -41.51)
CIE-LCHlch(29.59, 55.13, 311.15°)
OKLaboklab(40.86% 0.0736 -0.1177)
OKLCHoklch(40.86% 0.139 302)
XYZxyz(9.5903, 6.0697, 23.5833)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593187 #5F8731
analogous
#313487 #593187 #843187
triadic
#593187 #875931 #318759
tetradic
#593187 #873134 #5F8731 #318784
square
#593187 #873134 #5F8731 #318784
split-complementary
#593187 #878431 #348731
monochromatic
#1E102D #3B215A #593187 #7741B4 #966AC9

Accessibility & contrast

On white

9.49
#593187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#593187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593187
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593187#FFFFFF#000000##FFFFFF
##5931871.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#504357
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #593187;
/* rgb */ color: rgb(89, 49, 135);
/* oklch */ color: oklch(40.9% 0.139 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b6baa',
    500: '#593187',
    950: '#000000',
  },
}
SCSS
$custom: #593187;
$custom-light: #8b6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#593187",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 267.907,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.13884,
    "h": 302
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#593187
secondary
#8DB064
accent
#D65199
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593187

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

Preview Lab → · Contrast checker → · Palette generator →

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