#59168D#59168D

#59168D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.178 H 304.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#59168D
RGBrgb(89, 22, 141)
HSLhsl(274, 73%, 32%)
HSVhsv(274, 84%, 55%)
CMYKcmyk(36.9%, 84.4%, 0%, 44.7%)
CIE-LABlab(25.63, 50.26, -51.67)
CIE-LCHlch(25.63, 72.08, 314.21°)
OKLaboklab(38.2% 0.0998 -0.1474)
OKLCHoklch(38.2% 0.178 304.1)
XYZxyz(9.2133, 4.6208, 25.6007)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59168D #4A8D16
analogous
#1E168D #59168D #8D1685
triadic
#59168D #8D5916 #168D59
tetradic
#59168D #8D1E16 #4A8D16 #16858D
square
#59168D #8D1E16 #4A8D16 #16858D
split-complementary
#59168D #858D16 #168D1E
monochromatic
#160523 #380E58 #59168D #7A1EC2 #993DE1

Accessibility & contrast

On white

10.91
#59168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#59168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59168D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59168D#FFFFFF#000000##FFFFFF
##59168D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4F3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59168d;
/* rgb */ color: rgb(89, 22, 141);
/* oklch */ color: oklch(38.2% 0.178 304.1);
Tailwind
colors: {
  custom: {
    50: '#8e5daf',
    500: '#59168d',
    950: '#000000',
  },
}
SCSS
$custom: #59168d;
$custom-light: #8e5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#59168d",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 273.782,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.17806,
    "h": 304.1
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#59168D
secondary
#77C13E
accent
#F03888
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59168D

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

Preview Lab → · Contrast checker → · Palette generator →

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