#593285#593285

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

Color values

HEX#593285
RGBrgb(89, 50, 133)
HSLhsl(268, 45%, 36%)
HSVhsv(268, 62%, 52%)
CMYKcmyk(33.1%, 62.4%, 0%, 47.8%)
CIE-LABlab(29.66, 35.18, -40.15)
CIE-LCHlch(29.66, 53.38, 311.22°)
OKLaboklab(40.87% 0.0724 -0.1137)
OKLCHoklch(40.87% 0.135 302.5)
XYZxyz(9.4931, 6.0985, 22.8628)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593285 #5E8532
analogous
#323485 #593285 #823285
triadic
#593285 #855932 #328559
tetradic
#593285 #853234 #5E8532 #328582
square
#593285 #853234 #5E8532 #328582
split-complementary
#593285 #858232 #348532
monochromatic
#1D112C #3B2159 #593285 #7743B1 #966AC7

Accessibility & contrast

On white

9.46
#593285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#593285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593285
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593285#FFFFFF#000000##FFFFFF
##5932851.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#1B4683
Tritanopia (blue-blind)
#504356
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #593285;
/* rgb */ color: rgb(89, 50, 133);
/* oklch */ color: oklch(40.9% 0.135 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b6ca9',
    500: '#593285',
    950: '#000000',
  },
}
SCSS
$custom: #593285;
$custom-light: #8b6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#593285",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 268.193,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.13483,
    "h": 302.5
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#593285
secondary
#8CAF64
accent
#D55398
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #593285

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

Preview Lab → · Contrast checker → · Palette generator →

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