#59167C#59167C

#59167C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.162 H 310.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#59167C
RGBrgb(89, 22, 124)
HSLhsl(279, 70%, 29%)
HSVhsv(279, 82%, 49%)
CMYKcmyk(28.2%, 82.3%, 0%, 51.4%)
CIE-LABlab(24.17, 46.37, -43.36)
CIE-LCHlch(24.17, 63.49, 316.92°)
OKLaboklab(36.73% 0.1047 -0.123)
OKLCHoklch(36.73% 0.162 310.4)
XYZxyz(8.0441, 4.1531, 19.4427)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59167C #397C16
analogous
#26167C #59167C #7C166C
triadic
#59167C #7C5916 #167C59
tetradic
#59167C #7C2616 #397C16 #166C7C
square
#59167C #7C2616 #397C16 #166C7C
split-complementary
#59167C #6C7C16 #167C26
monochromatic
#13051A #340D48 #59167C #7E1FB0 #A132DB

Accessibility & contrast

On white

11.47
#59167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#59167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59167C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59167C#FFFFFF#000000##FFFFFF
##59167C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#543049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59167c;
/* rgb */ color: rgb(89, 22, 124);
/* oklch */ color: oklch(36.7% 0.162 310.4);
Tailwind
colors: {
  custom: {
    50: '#8c5ca3',
    500: '#59167c',
    950: '#000000',
  },
}
SCSS
$custom: #59167c;
$custom-light: #8c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#59167c",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 279.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.16153,
    "h": 310.4
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#59167C
secondary
#65B13D
accent
#ED3B78
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #59167C

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

Preview Lab → · Contrast checker → · Palette generator →

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