#59177B#59177B

#59177B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 310.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#59177B
RGBrgb(89, 23, 123)
HSLhsl(280, 68%, 29%)
HSVhsv(280, 81%, 48%)
CMYKcmyk(27.6%, 81.3%, 0%, 51.8%)
CIE-LABlab(24.22, 45.79, -42.66)
CIE-LCHlch(24.22, 62.58, 317.03°)
OKLaboklab(36.74% 0.1041 -0.121)
OKLCHoklch(36.74% 0.16 310.7)
XYZxyz(8.0007, 4.1669, 19.1179)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59177B #397B17
analogous
#27177B #59177B #7B176B
triadic
#59177B #7B5917 #177B59
tetradic
#59177B #7B2717 #397B17 #176B7B
square
#59177B #7B2717 #397B17 #176B7B
split-complementary
#59177B #6B7B17 #177B27
monochromatic
#13051A #340D47 #59177B #7E21AF #A133D9

Accessibility & contrast

On white

11.45
#59177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#59177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59177B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59177B#FFFFFF#000000##FFFFFF
##59177B1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#543049
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59177b;
/* rgb */ color: rgb(89, 23, 123);
/* oklch */ color: oklch(36.7% 0.160 310.7);
Tailwind
colors: {
  custom: {
    50: '#8c5da2',
    500: '#59177b',
    950: '#000000',
  },
}
SCSS
$custom: #59177b;
$custom-light: #8c5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#59177b",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 279.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.15955,
    "h": 310.7
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#59177B
secondary
#65B03E
accent
#EB3C78
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59177B

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

Preview Lab → · Contrast checker → · Palette generator →

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