#593186#593186

#593186 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.138 H 302.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#593186
RGBrgb(89, 49, 134)
HSLhsl(268, 46%, 36%)
HSVhsv(268, 63%, 53%)
CMYKcmyk(33.6%, 63.4%, 0%, 47.5%)
CIE-LABlab(29.52, 36.01, -41.00)
CIE-LCHlch(29.52, 54.57, 311.29°)
OKLaboklab(40.79% 0.0736 -0.1162)
OKLCHoklch(40.79% 0.138 302.3)
XYZxyz(9.5202, 6.0417, 23.2142)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593186 #5E8631
analogous
#313386 #593186 #833186
triadic
#593186 #865931 #318659
tetradic
#593186 #863133 #5E8631 #318683
square
#593186 #863133 #5E8631 #318683
split-complementary
#593186 #868331 #338631
monochromatic
#1D102C #3B2159 #593186 #7741B3 #9669C8

Accessibility & contrast

On white

9.51
#593186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #593186
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593186#FFFFFF#000000##FFFFFF
##5931861.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#504356
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #593186;
/* rgb */ color: rgb(89, 49, 134);
/* oklch */ color: oklch(40.8% 0.138 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b6baa',
    500: '#593186',
    950: '#000000',
  },
}
SCSS
$custom: #593186;
$custom-light: #8b6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#593186",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 268.235,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.13761,
    "h": 302.3
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#593186
secondary
#8CB063
accent
#D65298
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593186

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

Preview Lab → · Contrast checker → · Palette generator →

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