#593286#593286

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

Color values

HEX#593286
RGBrgb(89, 50, 134)
HSLhsl(268, 46%, 36%)
HSVhsv(268, 63%, 53%)
CMYKcmyk(33.6%, 62.7%, 0%, 47.5%)
CIE-LABlab(29.73, 35.44, -40.66)
CIE-LCHlch(29.73, 53.94, 311.08°)
OKLaboklab(40.94% 0.0723 -0.1152)
OKLCHoklch(40.94% 0.136 302.1)
XYZxyz(9.5625, 6.1263, 23.2283)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593286 #5F8632
analogous
#323586 #593286 #833286
triadic
#593286 #865932 #328659
tetradic
#593286 #863235 #5F8632 #328683
square
#593286 #863235 #5F8632 #328683
split-complementary
#593286 #868332 #358632
monochromatic
#1E112D #3B2159 #593286 #7743B3 #966BC8

Accessibility & contrast

On white

9.44
#593286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#593286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593286
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593286#FFFFFF#000000##FFFFFF
##5932861.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#194684
Tritanopia (blue-blind)
#504457
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #593286;
/* rgb */ color: rgb(89, 50, 134);
/* oklch */ color: oklch(40.9% 0.136 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b6caa',
    500: '#593286',
    950: '#000000',
  },
}
SCSS
$custom: #593286;
$custom-light: #8b6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#593286",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 267.857,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.13607,
    "h": 302.1
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#593286
secondary
#8DAF64
accent
#D55299
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593286

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

Preview Lab → · Contrast checker → · Palette generator →

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