#59167E#59167E

#59167E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.163 H 309.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#59167E
RGBrgb(89, 22, 126)
HSLhsl(279, 70%, 29%)
HSVhsv(279, 83%, 49%)
CMYKcmyk(29.4%, 82.5%, 0%, 50.6%)
CIE-LABlab(24.34, 46.82, -44.36)
CIE-LCHlch(24.34, 64.50, 316.54°)
OKLaboklab(36.9% 0.1042 -0.126)
OKLCHoklch(36.9% 0.163 309.6)
XYZxyz(8.1719, 4.2042, 20.1156)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59167E #3B7E16
analogous
#25167E #59167E #7E166F
triadic
#59167E #7E5916 #167E59
tetradic
#59167E #7E2516 #3B7E16 #166F7E
square
#59167E #7E2516 #3B7E16 #166F7E
split-complementary
#59167E #6F7E16 #167E25
monochromatic
#12051A #340D4A #59167E #7E1FB2 #9F33DB

Accessibility & contrast

On white

11.41
#59167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#59167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59167E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59167E#FFFFFF#000000##FFFFFF
##59167E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59167e;
/* rgb */ color: rgb(89, 22, 126);
/* oklch */ color: oklch(36.9% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#8c5da4',
    500: '#59167e',
    950: '#000000',
  },
}
SCSS
$custom: #59167e;
$custom-light: #8c5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#59167e",
  "rgb": {
    "r": 89,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 278.654,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.16347,
    "h": 309.6
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#59167E
secondary
#67B33D
accent
#ED3B7A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59167E

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

Preview Lab → · Contrast checker → · Palette generator →

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