#59168F#59168F

#59168F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.180 H 303.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#59168F
RGBrgb(89, 22, 143)
HSLhsl(273, 73%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(37.8%, 84.6%, 0%, 43.9%)
CIE-LABlab(25.81, 50.73, -52.62)
CIE-LCHlch(25.81, 73.09, 313.95°)
OKLaboklab(38.38% 0.0992 -0.1502)
OKLCHoklch(38.38% 0.18 303.4)
XYZxyz(9.3635, 4.6808, 26.3915)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59168F #4C8F16
analogous
#1D168F #59168F #8F1689
triadic
#59168F #8F5916 #168F59
tetradic
#59168F #8F1D16 #4C8F16 #16898F
square
#59168F #8F1D16 #4C8F16 #16898F
split-complementary
#59168F #898F16 #168F1D
monochromatic
#170625 #380E5A #59168F #7A1EC4 #983EE1

Accessibility & contrast

On white

10.85
#59168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#59168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59168F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59168F#FFFFFF#000000##FFFFFF
##59168F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4E3854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59168f;
/* rgb */ color: rgb(89, 22, 143);
/* oklch */ color: oklch(38.4% 0.180 303.4);
Tailwind
colors: {
  custom: {
    50: '#8e5eb1',
    500: '#59168f',
    950: '#000000',
  },
}
SCSS
$custom: #59168f;
$custom-light: #8e5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#59168f",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 273.223,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.18002,
    "h": 303.4
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#59168F
secondary
#79C13F
accent
#F0388A
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59168F

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

Preview Lab → · Contrast checker → · Palette generator →

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