#59178B#59178B

#59178B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.175 H 304.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#59178B
RGBrgb(89, 23, 139)
HSLhsl(274, 72%, 32%)
HSVhsv(274, 83%, 55%)
CMYKcmyk(36%, 83.5%, 0%, 45.5%)
CIE-LABlab(25.57, 49.45, -50.53)
CIE-LCHlch(25.57, 70.70, 314.38°)
OKLaboklab(38.1% 0.0997 -0.1441)
OKLCHoklch(38.1% 0.175 304.7)
XYZxyz(9.0853, 4.6008, 24.8305)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59178B #498B17
analogous
#1F178B #59178B #8B1783
triadic
#59178B #8B5917 #178B59
tetradic
#59178B #8B1F17 #498B17 #17838B
square
#59178B #8B1F17 #498B17 #17838B
split-complementary
#59178B #838B17 #178B1F
monochromatic
#160622 #370E56 #59178B #7B20C0 #993DDF

Accessibility & contrast

On white

10.94
#59178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#59178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59178B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59178B#FFFFFF#000000##FFFFFF
##59178B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4F3752
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59178b;
/* rgb */ color: rgb(89, 23, 139);
/* oklch */ color: oklch(38.1% 0.175 304.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eae',
    500: '#59178b',
    950: '#000000',
  },
}
SCSS
$custom: #59178b;
$custom-light: #8d5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#59178b",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 274.138,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.381,
    "c": 0.17522,
    "h": 304.7
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#59178B
secondary
#76BF3F
accent
#EE3987
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59178B

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

Preview Lab → · Contrast checker → · Palette generator →

#59178B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva