#59197F#59197F

#59197F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.161 H 308.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#59197F
RGBrgb(89, 25, 127)
HSLhsl(278, 67%, 30%)
HSVhsv(278, 80%, 50%)
CMYKcmyk(29.9%, 80.3%, 0%, 50.2%)
CIE-LABlab(24.80, 45.94, -44.24)
CIE-LCHlch(24.80, 63.78, 316.08°)
OKLaboklab(37.25% 0.1014 -0.1256)
OKLCHoklch(37.25% 0.161 308.9)
XYZxyz(8.2974, 4.3516, 20.4774)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59197F #3F7F19
analogous
#26197F #59197F #7F1972
triadic
#59197F #7F5919 #197F59
tetradic
#59197F #7F2619 #3F7F19 #19727F
square
#59197F #7F2619 #3F7F19 #19727F
split-complementary
#59197F #727F19 #197F26
monochromatic
#12051A #350F4C #59197F #7D23B2 #9D3AD8

Accessibility & contrast

On white

11.23
#59197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#59197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59197F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59197F#FFFFFF#000000##FFFFFF
##59197F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#53334C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59197f;
/* rgb */ color: rgb(89, 25, 127);
/* oklch */ color: oklch(37.3% 0.161 308.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ea5',
    500: '#59197f',
    950: '#000000',
  },
}
SCSS
$custom: #59197f;
$custom-light: #8c5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#59197f",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 277.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.16141,
    "h": 308.9
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#59197F
secondary
#6BB341
accent
#EA3E7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59197F

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

Preview Lab → · Contrast checker → · Palette generator →

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