#593486#593486

#593486 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.133 H 301.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#593486
RGBrgb(89, 52, 134)
HSLhsl(267, 44%, 36%)
HSVhsv(267, 61%, 53%)
CMYKcmyk(33.6%, 61.2%, 0%, 47.5%)
CIE-LABlab(30.16, 34.29, -39.97)
CIE-LCHlch(30.16, 52.66, 310.63°)
OKLaboklab(41.26% 0.0697 -0.1132)
OKLCHoklch(41.26% 0.133 301.6)
XYZxyz(9.6499, 6.3010, 23.2575)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593486 #618634
analogous
#343886 #593486 #823486
triadic
#593486 #865934 #348659
tetradic
#593486 #863438 #618634 #348682
square
#593486 #863438 #618634 #348682
split-complementary
#593486 #868234 #388634
monochromatic
#1E122E #3C235A #593486 #7645B2 #966EC7

Accessibility & contrast

On white

9.29
#593486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#593486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593486
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593486#FFFFFF#000000##FFFFFF
##5934861.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084689
Deuteranopia (green-blind)
#1C4784
Tritanopia (blue-blind)
#504558
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #593486;
/* rgb */ color: rgb(89, 52, 134);
/* oklch */ color: oklch(41.3% 0.133 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b6daa',
    500: '#593486',
    950: '#000000',
  },
}
SCSS
$custom: #593486;
$custom-light: #8b6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#593486",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 267.073,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.13297,
    "h": 301.6
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#593486
secondary
#8EAF67
accent
#D4549A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593486

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

Preview Lab → · Contrast checker → · Palette generator →

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