#59297F#59297F

#59297F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.141 H 306.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#59297F
RGBrgb(89, 41, 127)
HSLhsl(273, 51%, 33%)
HSVhsv(273, 68%, 50%)
CMYKcmyk(29.9%, 67.7%, 0%, 50.2%)
CIE-LABlab(27.41, 38.58, -40.01)
CIE-LCHlch(27.41, 55.58, 313.95°)
OKLaboklab(39.11% 0.0842 -0.1133)
OKLCHoklch(39.11% 0.141 306.6)
XYZxyz(8.7427, 5.2421, 20.6258)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59297F #4F7F29
analogous
#2E297F #59297F #7F297A
triadic
#59297F #7F5929 #297F59
tetradic
#59297F #7F2E29 #4F7F29 #297A7F
square
#59297F #7F2E29 #4F7F29 #297A7F
split-complementary
#59297F #7A7F29 #297F2E
monochromatic
#180B22 #391A51 #59297F #7938AD #9859C9

Accessibility & contrast

On white

10.25
#59297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#59297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59297F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59297F#FFFFFF#000000##FFFFFF
##59297F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59297f;
/* rgb */ color: rgb(89, 41, 127);
/* oklch */ color: oklch(39.1% 0.141 306.6);
Tailwind
colors: {
  custom: {
    50: '#8b66a5',
    500: '#59297f',
    950: '#000000',
  },
}
SCSS
$custom: #59297f;
$custom-light: #8b66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#59297f",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 273.488,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.14114,
    "h": 306.6
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#59297F
secondary
#7DAF55
accent
#DB4D8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #59297F

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

Preview Lab → · Contrast checker → · Palette generator →

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