#59197E#59197E

#59197E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.160 H 309.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#59197E
RGBrgb(89, 25, 126)
HSLhsl(278, 67%, 30%)
HSVhsv(278, 80%, 49%)
CMYKcmyk(29.4%, 80.2%, 0%, 50.6%)
CIE-LABlab(24.72, 45.71, -43.74)
CIE-LCHlch(24.72, 63.27, 316.26°)
OKLaboklab(37.17% 0.1016 -0.1242)
OKLCHoklch(37.17% 0.16 309.3)
XYZxyz(8.2326, 4.3256, 20.1359)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59197E #3E7E19
analogous
#27197E #59197E #7E1971
triadic
#59197E #7E5919 #197E59
tetradic
#59197E #7E2719 #3E7E19 #19717E
square
#59197E #7E2719 #3E7E19 #19717E
split-complementary
#59197E #717E19 #197E27
monochromatic
#12051A #350F4B #59197E #7D23B1 #9E3AD8

Accessibility & contrast

On white

11.26
#59197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59197E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59197E#FFFFFF#000000##FFFFFF
##59197E1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#53324B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59197e;
/* rgb */ color: rgb(89, 25, 126);
/* oklch */ color: oklch(37.2% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ea4',
    500: '#59197e',
    950: '#000000',
  },
}
SCSS
$custom: #59197e;
$custom-light: #8c5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#59197e",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 278.02,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.16042,
    "h": 309.3
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#59197E
secondary
#6AB241
accent
#EA3E7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59197E

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

Preview Lab → · Contrast checker → · Palette generator →

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