#59188A#59188A

#59188A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.173 H 304.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#59188A
RGBrgb(89, 24, 138)
HSLhsl(274, 70%, 32%)
HSVhsv(274, 83%, 54%)
CMYKcmyk(35.5%, 82.6%, 0%, 45.9%)
CIE-LABlab(25.60, 48.86, -49.85)
CIE-LCHlch(25.60, 69.80, 314.43°)
OKLaboklab(38.1% 0.0993 -0.1421)
OKLCHoklch(38.1% 0.173 304.9)
XYZxyz(9.0329, 4.6121, 24.4542)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59188A #498A18
analogous
#20188A #59188A #8A1882
triadic
#59188A #8A5918 #188A59
tetradic
#59188A #8A2018 #498A18 #18828A
square
#59188A #8A2018 #498A18 #18828A
split-complementary
#59188A #828A18 #188A20
monochromatic
#160622 #370F56 #59188A #7B21BE #993FDE

Accessibility & contrast

On white

10.92
#59188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#59188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59188A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59188A#FFFFFF#000000##FFFFFF
##59188A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#503752
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59188a;
/* rgb */ color: rgb(89, 24, 138);
/* oklch */ color: oklch(38.1% 0.173 304.9);
Tailwind
colors: {
  custom: {
    50: '#8d5ead',
    500: '#59188a',
    950: '#000000',
  },
}
SCSS
$custom: #59188a;
$custom-light: #8d5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#59188a",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 274.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38096,
    "c": 0.17333,
    "h": 304.9
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#59188A
secondary
#76BD40
accent
#ED3B87
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59188A

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

Preview Lab → · Contrast checker → · Palette generator →

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