#59177F#59177F

#59177F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.163 H 309.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#59177F
RGBrgb(89, 23, 127)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 50%)
CMYKcmyk(29.9%, 81.9%, 0%, 50.2%)
CIE-LABlab(24.54, 46.69, -44.66)
CIE-LCHlch(24.54, 64.61, 316.27°)
OKLaboklab(37.07% 0.1031 -0.1268)
OKLCHoklch(37.07% 0.163 309.1)
XYZxyz(8.2562, 4.2691, 20.4636)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59177F #3D7F17
analogous
#25177F #59177F #7F1771
triadic
#59177F #7F5917 #177F59
tetradic
#59177F #7F2517 #3D7F17 #17717F
square
#59177F #7F2517 #3D7F17 #17717F
split-complementary
#59177F #717F17 #177F25
monochromatic
#12051A #350E4B #59177F #7D20B3 #9E36DB

Accessibility & contrast

On white

11.33
#59177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#59177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59177F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59177F#FFFFFF#000000##FFFFFF
##59177F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#53324B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59177f;
/* rgb */ color: rgb(89, 23, 127);
/* oklch */ color: oklch(37.1% 0.163 309.1);
Tailwind
colors: {
  custom: {
    50: '#8c5da5',
    500: '#59177f',
    950: '#000000',
  },
}
SCSS
$custom: #59177f;
$custom-light: #8c5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#59177f",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 278.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.16346,
    "h": 309.1
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#59177F
secondary
#69B43E
accent
#EC3C7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59177F

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

Preview Lab → · Contrast checker → · Palette generator →

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