#593182#593182

#593182 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.133 H 303.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#593182
RGBrgb(89, 49, 130)
HSLhsl(270, 45%, 35%)
HSVhsv(270, 62%, 51%)
CMYKcmyk(31.5%, 62.3%, 0%, 49%)
CIE-LABlab(29.24, 34.96, -38.95)
CIE-LCHlch(29.24, 52.34, 311.90°)
OKLaboklab(40.5% 0.0738 -0.1102)
OKLCHoklch(40.5% 0.133 303.8)
XYZxyz(9.2465, 5.9322, 21.7727)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593182 #5A8231
analogous
#313182 #593182 #823182
triadic
#593182 #825931 #318259
tetradic
#593182 #823131 #5A8231 #318282
square
#593182 #823131 #5A8231 #318282
split-complementary
#593182 #828231 #318231
monochromatic
#1C0F29 #3B2056 #593182 #7742AE #9668C6

Accessibility & contrast

On white

9.60
#593182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#593182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593182
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593182#FFFFFF#000000##FFFFFF
##5931821.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064485
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#514254
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #593182;
/* rgb */ color: rgb(89, 49, 130);
/* oklch */ color: oklch(40.5% 0.133 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b6ba7',
    500: '#593182',
    950: '#000000',
  },
}
SCSS
$custom: #593182;
$custom-light: #8b6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#593182",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 269.63,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.13264,
    "h": 303.8
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#593182
secondary
#88AD62
accent
#D55395
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #593182

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

Preview Lab → · Contrast checker → · Palette generator →

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