#59197C#59197C

#59197C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.158 H 310.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#59197C
RGBrgb(89, 25, 124)
HSLhsl(279, 66%, 29%)
HSVhsv(279, 80%, 49%)
CMYKcmyk(28.2%, 79.8%, 0%, 51.4%)
CIE-LABlab(24.56, 45.25, -42.73)
CIE-LCHlch(24.56, 62.24, 316.64°)
OKLaboklab(37% 0.102 -0.1212)
OKLCHoklch(37% 0.158 310.1)
XYZxyz(8.1048, 4.2745, 19.4630)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59197C #3C7C19
analogous
#28197C #59197C #7C196E
triadic
#59197C #7C5919 #197C59
tetradic
#59197C #7C2819 #3C7C19 #196E7C
square
#59197C #7C2819 #3C7C19 #196E7C
split-complementary
#59197C #6E7C19 #197C28
monochromatic
#120519 #340F49 #59197C #7E23AF #9F38D7

Accessibility & contrast

On white

11.32
#59197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#59197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59197C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59197C#FFFFFF#000000##FFFFFF
##59197C1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#54314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59197c;
/* rgb */ color: rgb(89, 25, 124);
/* oklch */ color: oklch(37.0% 0.158 310.1);
Tailwind
colors: {
  custom: {
    50: '#8c5ea3',
    500: '#59197c',
    950: '#000000',
  },
}
SCSS
$custom: #59197c;
$custom-light: #8c5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#59197c",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 278.788,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.15843,
    "h": 310.1
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#59197C
secondary
#68B040
accent
#E93E7B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #59197C

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

Preview Lab → · Contrast checker → · Palette generator →

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