#59187A#59187A

#59187A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.158 H 311.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#59187A
RGBrgb(89, 24, 122)
HSLhsl(280, 67%, 29%)
HSVhsv(280, 80%, 48%)
CMYKcmyk(27%, 80.3%, 0%, 52.2%)
CIE-LABlab(24.27, 45.18, -41.94)
CIE-LCHlch(24.27, 61.65, 317.13°)
OKLaboklab(36.75% 0.1034 -0.1189)
OKLCHoklch(36.75% 0.158 311)
XYZxyz(7.9586, 4.1825, 18.7966)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187A #397A18
analogous
#28187A #59187A #7A186A
triadic
#59187A #7A5918 #187A59
tetradic
#59187A #7A2818 #397A18 #186A7A
square
#59187A #7A2818 #397A18 #186A7A
split-complementary
#59187A #6A7A18 #187A28
monochromatic
#13051A #340E47 #59187A #7E22AD #A135D7

Accessibility & contrast

On white

11.44
#59187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59187A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187A#FFFFFF#000000##FFFFFF
##59187A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59187a;
/* rgb */ color: rgb(89, 24, 122);
/* oklch */ color: oklch(36.7% 0.158 311.0);
Tailwind
colors: {
  custom: {
    50: '#8c5da1',
    500: '#59187a',
    950: '#000000',
  },
}
SCSS
$custom: #59187a;
$custom-light: #8c5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#59187a",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 279.796,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36747,
    "c": 0.15753,
    "h": 311
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#59187A
secondary
#65AF3F
accent
#EA3E78
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #59187A

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

Preview Lab → · Contrast checker → · Palette generator →

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