#59197A#59197A

#59197A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.156 H 310.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#59197A
RGBrgb(89, 25, 122)
HSLhsl(280, 66%, 29%)
HSVhsv(280, 80%, 48%)
CMYKcmyk(27%, 79.5%, 0%, 52.2%)
CIE-LABlab(24.40, 44.80, -41.72)
CIE-LCHlch(24.40, 61.22, 317.04°)
OKLaboklab(36.84% 0.1025 -0.1182)
OKLCHoklch(36.84% 0.156 310.9)
XYZxyz(7.9796, 4.2244, 18.8036)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59197A #3A7A19
analogous
#29197A #59197A #7A196B
triadic
#59197A #7A5919 #197A59
tetradic
#59197A #7A2919 #3A7A19 #196B7A
square
#59197A #7A2919 #3A7A19 #196B7A
split-complementary
#59197A #6B7A19 #197A29
monochromatic
#130519 #340F47 #59197A #7E23AD #A037D6

Accessibility & contrast

On white

11.38
#59197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#59197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59197A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59197A#FFFFFF#000000##FFFFFF
##59197A1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#553049
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59197a;
/* rgb */ color: rgb(89, 25, 122);
/* oklch */ color: oklch(36.8% 0.156 310.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ea1',
    500: '#59197a',
    950: '#000000',
  },
}
SCSS
$custom: #59197a;
$custom-light: #8c5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#59197a",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 279.588,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.15644,
    "h": 310.9
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#59197A
secondary
#66AF40
accent
#E93F79
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #59197A

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

Preview Lab → · Contrast checker → · Palette generator →

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