#59287F#59287F

#59287F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.143 H 306.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#59287F
RGBrgb(89, 40, 127)
HSLhsl(274, 52%, 33%)
HSVhsv(274, 69%, 50%)
CMYKcmyk(29.9%, 68.5%, 0%, 50.2%)
CIE-LABlab(27.22, 39.10, -40.32)
CIE-LCHlch(27.22, 56.16, 314.12°)
OKLaboklab(38.97% 0.0854 -0.1142)
OKLCHoklch(38.97% 0.143 306.8)
XYZxyz(8.7086, 5.1738, 20.6144)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59287F #4E7F28
analogous
#2D287F #59287F #7F2879
triadic
#59287F #7F5928 #287F59
tetradic
#59287F #7F2D28 #4E7F28 #28797F
square
#59287F #7F2D28 #4E7F28 #28797F
split-complementary
#59287F #797F28 #287F2D
monochromatic
#180B22 #381950 #59287F #7A37AE #9857CA

Accessibility & contrast

On white

10.32
#59287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#59287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59287F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59287F#FFFFFF#000000##FFFFFF
##59287F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#13417D
Tritanopia (blue-blind)
#533B50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59287f;
/* rgb */ color: rgb(89, 40, 127);
/* oklch */ color: oklch(39.0% 0.143 306.8);
Tailwind
colors: {
  custom: {
    50: '#8b66a5',
    500: '#59287f',
    950: '#000000',
  },
}
SCSS
$custom: #59287f;
$custom-light: #8b66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#59287f",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 273.793,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.1426,
    "h": 306.8
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#59287F
secondary
#7CAF54
accent
#DC4C8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #59287F

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

Preview Lab → · Contrast checker → · Palette generator →

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