#59188F#59188F

#59188F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.178 H 303.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#59188F
RGBrgb(89, 24, 143)
HSLhsl(273, 71%, 33%)
HSVhsv(273, 83%, 56%)
CMYKcmyk(37.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(26.04, 50.04, -52.24)
CIE-LCHlch(26.04, 72.34, 313.77°)
OKLaboklab(38.54% 0.0977 -0.1491)
OKLCHoklch(38.54% 0.178 303.2)
XYZxyz(9.4032, 4.7603, 26.4047)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59188F #4E8F18
analogous
#1E188F #59188F #8F1889
triadic
#59188F #8F5918 #188F59
tetradic
#59188F #8F1E18 #4E8F18 #18898F
square
#59188F #8F1E18 #4E8F18 #18898F
split-complementary
#59188F #898F18 #188F1E
monochromatic
#180626 #380F5B #59188F #7A21C3 #9842DF

Accessibility & contrast

On white

10.76
#59188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#59188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59188F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59188F#FFFFFF#000000##FFFFFF
##59188F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4E3955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59188f;
/* rgb */ color: rgb(89, 24, 143);
/* oklch */ color: oklch(38.5% 0.178 303.2);
Tailwind
colors: {
  custom: {
    50: '#8e5eb1',
    500: '#59188f',
    950: '#000000',
  },
}
SCSS
$custom: #59188f;
$custom-light: #8e5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#59188f",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 272.773,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38539,
    "c": 0.17828,
    "h": 303.2
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#59188F
secondary
#7CC043
accent
#EE3A8C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59188F

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

Preview Lab → · Contrast checker → · Palette generator →

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