#59167F#59167F

#59167F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.164 H 309.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#59167F
RGBrgb(89, 22, 127)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 83%, 50%)
CMYKcmyk(29.9%, 82.7%, 0%, 50.2%)
CIE-LABlab(24.42, 47.05, -44.86)
CIE-LCHlch(24.42, 65.01, 316.36°)
OKLaboklab(36.98% 0.1039 -0.1274)
OKLCHoklch(36.98% 0.164 309.2)
XYZxyz(8.2367, 4.2301, 20.4571)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59167F #3C7F16
analogous
#25167F #59167F #7F1671
triadic
#59167F #7F5916 #167F59
tetradic
#59167F #7F2516 #3C7F16 #16717F
square
#59167F #7F2516 #3C7F16 #16717F
split-complementary
#59167F #717F16 #167F25
monochromatic
#12051A #340D4B #59167F #7E1FB3 #9F34DC

Accessibility & contrast

On white

11.38
#59167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59167F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59167F#FFFFFF#000000##FFFFFF
##59167F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59167f;
/* rgb */ color: rgb(89, 22, 127);
/* oklch */ color: oklch(37.0% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#8c5da5',
    500: '#59167f',
    950: '#000000',
  },
}
SCSS
$custom: #59167f;
$custom-light: #8c5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#59167f",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 278.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36981,
    "c": 0.16444,
    "h": 309.2
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#59167F
secondary
#68B43D
accent
#ED3B7B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59167F

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

Preview Lab → · Contrast checker → · Palette generator →

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