#59168A#59168A

#59168A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.175 H 305.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#59168A
RGBrgb(89, 22, 138)
HSLhsl(275, 73%, 31%)
HSVhsv(275, 84%, 54%)
CMYKcmyk(35.5%, 84.1%, 0%, 45.9%)
CIE-LABlab(25.36, 49.56, -50.24)
CIE-LCHlch(25.36, 70.57, 314.61°)
OKLaboklab(37.93% 0.1008 -0.1432)
OKLCHoklch(37.93% 0.175 305.1)
XYZxyz(8.9931, 4.5327, 24.4410)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59168A #478A16
analogous
#1F168A #59168A #8A1681
triadic
#59168A #8A5916 #168A59
tetradic
#59168A #8A1F16 #478A16 #16818A
square
#59168A #8A1F16 #478A16 #16818A
split-complementary
#59168A #818A16 #168A1F
monochromatic
#150520 #370E55 #59168A #7B1EBF #9A3BE0

Accessibility & contrast

On white

11.01
#59168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#59168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59168A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59168A#FFFFFF#000000##FFFFFF
##59168A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#503651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59168a;
/* rgb */ color: rgb(89, 22, 138);
/* oklch */ color: oklch(37.9% 0.175 305.1);
Tailwind
colors: {
  custom: {
    50: '#8d5dad',
    500: '#59168a',
    950: '#000000',
  },
}
SCSS
$custom: #59168a;
$custom-light: #8d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#59168a",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 274.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.17513,
    "h": 305.1
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#59168A
secondary
#74BE3E
accent
#EF3986
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59168A

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

Preview Lab → · Contrast checker → · Palette generator →

#59168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva