#593188#593188

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

Color values

HEX#593188
RGBrgb(89, 49, 136)
HSLhsl(268, 47%, 36%)
HSVhsv(268, 64%, 53%)
CMYKcmyk(34.6%, 64%, 0%, 46.7%)
CIE-LABlab(29.66, 36.54, -42.02)
CIE-LCHlch(29.66, 55.68, 311.01°)
OKLaboklab(40.93% 0.0735 -0.1192)
OKLCHoklch(40.93% 0.14 301.7)
XYZxyz(9.6610, 6.0980, 23.9558)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593188 #608831
analogous
#313588 #593188 #853188
triadic
#593188 #885931 #318859
tetradic
#593188 #883135 #608831 #318885
square
#593188 #883135 #608831 #318885
split-complementary
#593188 #888531 #358831
monochromatic
#1E112E #3C215B #593188 #7641B5 #966AC9

Accessibility & contrast

On white

9.46
#593188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#593188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593188
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593188#FFFFFF#000000##FFFFFF
##5931881.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#4F4458
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #593188;
/* rgb */ color: rgb(89, 49, 136);
/* oklch */ color: oklch(40.9% 0.140 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c6bab',
    500: '#593188',
    950: '#000000',
  },
}
SCSS
$custom: #593188;
$custom-light: #8c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#593188",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 267.586,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.14007,
    "h": 301.7
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#593188
secondary
#8DB164
accent
#D75199
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593188

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

Preview Lab → · Contrast checker → · Palette generator →

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