#59128F#59128F

#59128F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.1% C 0.183 H 303.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#59128F
RGBrgb(89, 18, 143)
HSLhsl(274, 78%, 32%)
HSVhsv(274, 87%, 56%)
CMYKcmyk(37.8%, 87.4%, 0%, 43.9%)
CIE-LABlab(25.38, 51.98, -53.32)
CIE-LCHlch(25.38, 74.46, 314.27°)
OKLaboklab(38.08% 0.1018 -0.1522)
OKLCHoklch(38.08% 0.183 303.8)
XYZxyz(9.2929, 4.5396, 26.3679)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59128F #488F12
analogous
#1B128F #59128F #8F1287
triadic
#59128F #8F5912 #128F59
tetradic
#59128F #8F1B12 #488F12 #12878F
square
#59128F #8F1B12 #488F12 #12878F
split-complementary
#59128F #878F12 #128F1B
monochromatic
#150422 #370B59 #59128F #7B19C5 #9A36E6

Accessibility & contrast

On white

11.01
#59128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#59128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59128F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59128F#FFFFFF#000000##FFFFFF
##59128F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4E3754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59128f;
/* rgb */ color: rgb(89, 18, 143);
/* oklch */ color: oklch(38.1% 0.183 303.8);
Tailwind
colors: {
  custom: {
    50: '#8e5cb1',
    500: '#59128f',
    950: '#000000',
  },
}
SCSS
$custom: #59128f;
$custom-light: #8e5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#59128f",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 274.08,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.18313,
    "h": 303.8
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#59128F
secondary
#75C33A
accent
#F43487
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59128F

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

Preview Lab → · Contrast checker → · Palette generator →

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