#59278F#59278F

#59278F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.162 H 301.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#59278F
RGBrgb(89, 39, 143)
HSLhsl(269, 57%, 36%)
HSVhsv(269, 73%, 56%)
CMYKcmyk(37.8%, 72.7%, 0%, 43.9%)
CIE-LABlab(28.27, 43.66, -48.60)
CIE-LCHlch(28.27, 65.33, 311.93°)
OKLaboklab(40.1% 0.0842 -0.1385)
OKLCHoklch(40.1% 0.162 301.3)
XYZxyz(9.8021, 5.5580, 26.5377)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59278F #5D8F27
analogous
#27298F #59278F #8D278F
triadic
#59278F #8F5927 #278F59
tetradic
#59278F #8F2729 #5D8F27 #278F8D
square
#59278F #8F2729 #5D8F27 #278F8D
split-complementary
#59278F #8F8D27 #298F27
monochromatic
#1D0D2F #3B1A5F #59278F #7734BF #965DD3

Accessibility & contrast

On white

9.95
#59278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59278F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59278F#FFFFFF#000000##FFFFFF
##59278F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#4D4058
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59278f;
/* rgb */ color: rgb(89, 39, 143);
/* oklch */ color: oklch(40.1% 0.162 301.3);
Tailwind
colors: {
  custom: {
    50: '#8d66b1',
    500: '#59278f',
    950: '#000000',
  },
}
SCSS
$custom: #59278f;
$custom-light: #8d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#59278f",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 268.846,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.16214,
    "h": 301.3
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#59278F
secondary
#8BB85A
accent
#E04797
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59278F

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

Preview Lab → · Contrast checker → · Palette generator →

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