#593387#593387

#593387 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.136 H 301.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#593387
RGBrgb(89, 51, 135)
HSLhsl(267, 45%, 36%)
HSVhsv(267, 62%, 53%)
CMYKcmyk(34.1%, 62.2%, 0%, 47.1%)
CIE-LABlab(30.01, 35.14, -40.83)
CIE-LCHlch(30.01, 53.87, 310.72°)
OKLaboklab(41.17% 0.071 -0.1157)
OKLCHoklch(41.17% 0.136 301.5)
XYZxyz(9.6758, 6.2407, 23.6118)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593387 #618733
analogous
#333787 #593387 #833387
triadic
#593387 #875933 #338759
tetradic
#593387 #873337 #618733 #338783
square
#593387 #873337 #618733 #338783
split-complementary
#593387 #878333 #378733
monochromatic
#1E112E #3C225B #593387 #7644B3 #966DC8

Accessibility & contrast

On white

9.34
#593387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#593387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593387
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593387#FFFFFF#000000##FFFFFF
##5933871.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#504558
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #593387;
/* rgb */ color: rgb(89, 51, 135);
/* oklch */ color: oklch(41.2% 0.136 301.5);
Tailwind
colors: {
  custom: {
    50: '#8b6daa',
    500: '#593387',
    950: '#000000',
  },
}
SCSS
$custom: #593387;
$custom-light: #8b6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#593387",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 267.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.13579,
    "h": 301.5
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#593387
secondary
#8EB066
accent
#D5539A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593387

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

Preview Lab → · Contrast checker → · Palette generator →

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