#59187F#59187F

#59187F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.162 H 309.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#59187F
RGBrgb(89, 24, 127)
HSLhsl(278, 68%, 30%)
HSVhsv(278, 81%, 50%)
CMYKcmyk(29.9%, 81.1%, 0%, 50.2%)
CIE-LABlab(24.67, 46.32, -44.45)
CIE-LCHlch(24.67, 64.20, 316.18°)
OKLaboklab(37.16% 0.1022 -0.1262)
OKLCHoklch(37.16% 0.162 309)
XYZxyz(8.2764, 4.3096, 20.4704)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59187F #3E7F18
analogous
#26187F #59187F #7F1872
triadic
#59187F #7F5918 #187F59
tetradic
#59187F #7F2618 #3E7F18 #18727F
square
#59187F #7F2618 #3E7F18 #18727F
split-complementary
#59187F #727F18 #187F26
monochromatic
#12051A #350E4C #59187F #7D22B2 #9E38D9

Accessibility & contrast

On white

11.28
#59187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#59187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59187F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59187F#FFFFFF#000000##FFFFFF
##59187F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59187f;
/* rgb */ color: rgb(89, 24, 127);
/* oklch */ color: oklch(37.2% 0.162 309.0);
Tailwind
colors: {
  custom: {
    50: '#8c5da5',
    500: '#59187f',
    950: '#000000',
  },
}
SCSS
$custom: #59187f;
$custom-light: #8c5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#59187f",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 277.864,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37157,
    "c": 0.16245,
    "h": 309
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#59187F
secondary
#6AB33F
accent
#EB3D7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59187F

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

Preview Lab → · Contrast checker → · Palette generator →

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