#59278E#59278E

#59278E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.161 H 301.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#59278E
RGBrgb(89, 39, 142)
HSLhsl(269, 57%, 35%)
HSVhsv(269, 73%, 56%)
CMYKcmyk(37.3%, 72.5%, 0%, 44.3%)
CIE-LABlab(28.19, 43.41, -48.12)
CIE-LCHlch(28.19, 64.80, 312.05°)
OKLaboklab(40.02% 0.0844 -0.1371)
OKLCHoklch(40.02% 0.161 301.6)
XYZxyz(9.7267, 5.5278, 26.1405)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59278E #5C8E27
analogous
#27298E #59278E #8C278E
triadic
#59278E #8E5927 #278E59
tetradic
#59278E #8E2729 #5C8E27 #278E8C
square
#59278E #8E2729 #5C8E27 #278E8C
split-complementary
#59278E #8E8C27 #298E27
monochromatic
#1D0D2E #3B1A5E #59278E #7734BE #965DD2

Accessibility & contrast

On white

9.97
#59278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#59278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59278E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59278E#FFFFFF#000000##FFFFFF
##59278E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#4E4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #59278e;
/* rgb */ color: rgb(89, 39, 142);
/* oklch */ color: oklch(40.0% 0.161 301.6);
Tailwind
colors: {
  custom: {
    50: '#8d66b0',
    500: '#59278e',
    950: '#000000',
  },
}
SCSS
$custom: #59278e;
$custom-light: #8d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#59278e",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 269.126,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.161,
    "h": 301.6
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#59278E
secondary
#8AB859
accent
#E04896
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59278E

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

Preview Lab → · Contrast checker → · Palette generator →

#59278E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva