#59168E#59168E

#59168E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.179 H 303.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#59168E
RGBrgb(89, 22, 142)
HSLhsl(274, 73%, 32%)
HSVhsv(274, 85%, 56%)
CMYKcmyk(37.3%, 84.5%, 0%, 44.3%)
CIE-LABlab(25.72, 50.49, -52.15)
CIE-LCHlch(25.72, 72.59, 314.08°)
OKLaboklab(38.29% 0.0995 -0.1488)
OKLCHoklch(38.29% 0.179 303.8)
XYZxyz(9.2881, 4.6507, 25.9943)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59168E #4B8E16
analogous
#1D168E #59168E #8E1687
triadic
#59168E #8E5916 #168E59
tetradic
#59168E #8E1D16 #4B8E16 #16878E
square
#59168E #8E1D16 #4B8E16 #16878E
split-complementary
#59168E #878E16 #168E1D
monochromatic
#170624 #380E59 #59168E #7A1EC3 #993DE1

Accessibility & contrast

On white

10.88
#59168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59168E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59168E#FFFFFF#000000##FFFFFF
##59168E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59168e;
/* rgb */ color: rgb(89, 22, 142);
/* oklch */ color: oklch(38.3% 0.179 303.8);
Tailwind
colors: {
  custom: {
    50: '#8e5eb0',
    500: '#59168e',
    950: '#000000',
  },
}
SCSS
$custom: #59168e;
$custom-light: #8e5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#59168e",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 273.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.17904,
    "h": 303.8
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#59168E
secondary
#78C13F
accent
#F03889
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59168E

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

Preview Lab → · Contrast checker → · Palette generator →

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