#59319E#59319E

#59319E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.167 H 295.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#59319E
RGBrgb(89, 49, 158)
HSLhsl(262, 53%, 41%)
HSVhsv(262, 69%, 62%)
CMYKcmyk(43.7%, 69%, 0%, 38%)
CIE-LABlab(31.32, 42.52, -52.82)
CIE-LCHlch(31.32, 67.81, 308.83°)
OKLaboklab(42.66% 0.0711 -0.151)
OKLCHoklch(42.66% 0.167 295.2)
XYZxyz(11.3880, 6.7888, 33.0515)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59319E #769E31
analogous
#31409E #59319E #8F319E
triadic
#59319E #9E5931 #319E59
tetradic
#59319E #9E3140 #769E31 #319E8F
square
#59319E #9E3140 #769E31 #319E8F
split-complementary
#59319E #9E8F31 #409E31
monochromatic
#241441 #3F236F #59319E #7546C6 #9875D4

Accessibility & contrast

On white

8.91
#59319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#59319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59319E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59319E#FFFFFF#000000##FFFFFF
##59319E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#464B63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #59319e;
/* rgb */ color: rgb(89, 49, 158);
/* oklch */ color: oklch(42.7% 0.167 295.2);
Tailwind
colors: {
  custom: {
    50: '#8e6cbb',
    500: '#59319e',
    950: '#000000',
  },
}
SCSS
$custom: #59319e;
$custom-light: #8e6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#59319e",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 262.018,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.1669,
    "h": 295.2
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#59319E
secondary
#A0BC6E
accent
#DC4CA7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #59319E

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

Preview Lab → · Contrast checker → · Palette generator →

#59319E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva