#593181#593181

#593181 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.131 H 304.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#593181
RGBrgb(89, 49, 129)
HSLhsl(270, 45%, 35%)
HSVhsv(270, 62%, 51%)
CMYKcmyk(31%, 62%, 0%, 49.4%)
CIE-LABlab(29.17, 34.69, -38.44)
CIE-LCHlch(29.17, 51.78, 312.07°)
OKLaboklab(40.43% 0.0738 -0.1087)
OKLCHoklch(40.43% 0.131 304.2)
XYZxyz(9.1797, 5.9055, 21.4209)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593181 #598131
analogous
#313181 #593181 #813181
triadic
#593181 #815931 #318159
tetradic
#593181 #813131 #598131 #318181
square
#593181 #813131 #598131 #318181
split-complementary
#593181 #818131 #318131
monochromatic
#1C0F28 #3A2055 #593181 #7842AD #9667C5

Accessibility & contrast

On white

9.63
#593181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#593181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593181
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593181#FFFFFF#000000##FFFFFF
##5931811.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084484
Deuteranopia (green-blind)
#1E457F
Tritanopia (blue-blind)
#524154
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #593181;
/* rgb */ color: rgb(89, 49, 129);
/* oklch */ color: oklch(40.4% 0.131 304.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ba6',
    500: '#593181',
    950: '#000000',
  },
}
SCSS
$custom: #593181;
$custom-light: #8b6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#593181",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 270,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.13139,
    "h": 304.2
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#593181
secondary
#87AD61
accent
#D55394
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #593181

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

Preview Lab → · Contrast checker → · Palette generator →

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