#59188C#59188C

#59188C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 304.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#59188C
RGBrgb(89, 24, 140)
HSLhsl(274, 71%, 32%)
HSVhsv(274, 83%, 55%)
CMYKcmyk(36.4%, 82.9%, 0%, 45.1%)
CIE-LABlab(25.77, 49.33, -50.81)
CIE-LCHlch(25.77, 70.82, 314.16°)
OKLaboklab(38.27% 0.0987 -0.1449)
OKLCHoklch(38.27% 0.175 304.2)
XYZxyz(9.1790, 4.6706, 25.2238)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59188C #4B8C18
analogous
#1F188C #59188C #8C1885
triadic
#59188C #8C5918 #188C59
tetradic
#59188C #8C1F18 #4B8C18 #18858C
square
#59188C #8C1F18 #4B8C18 #18858C
split-complementary
#59188C #858C18 #188C1F
monochromatic
#170624 #380F58 #59188C #7A21C0 #9940DE

Accessibility & contrast

On white

10.86
#59188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59188C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59188C#FFFFFF#000000##FFFFFF
##59188C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4F3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59188c;
/* rgb */ color: rgb(89, 24, 140);
/* oklch */ color: oklch(38.3% 0.175 304.2);
Tailwind
colors: {
  custom: {
    50: '#8d5eaf',
    500: '#59188c',
    950: '#000000',
  },
}
SCSS
$custom: #59188c;
$custom-light: #8d5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#59188c",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 273.621,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.17532,
    "h": 304.2
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#59188C
secondary
#78BF41
accent
#ED3A89
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59188C

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

Preview Lab → · Contrast checker → · Palette generator →

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