#59307F#59307F

#59307F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.131 H 305.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#59307F
RGBrgb(89, 48, 127)
HSLhsl(271, 45%, 34%)
HSVhsv(271, 62%, 50%)
CMYKcmyk(29.9%, 62.2%, 0%, 50.2%)
CIE-LABlab(28.82, 34.74, -37.74)
CIE-LCHlch(28.82, 51.30, 312.63°)
OKLaboklab(40.13% 0.0752 -0.1067)
OKLCHoklch(40.13% 0.131 305.2)
XYZxyz(9.0067, 5.7701, 20.7138)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59307F #567F30
analogous
#31307F #59307F #7F307E
triadic
#59307F #7F5930 #307F59
tetradic
#59307F #7F3130 #567F30 #307E7F
square
#59307F #7F3130 #567F30 #307E7F
split-complementary
#59307F #7E7F30 #307F31
monochromatic
#1B0E26 #3A1F53 #59307F #7841AB #9765C5

Accessibility & contrast

On white

9.75
#59307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#59307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59307F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59307F#FFFFFF#000000##FFFFFF
##59307F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094382
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#524052
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #59307f;
/* rgb */ color: rgb(89, 48, 127);
/* oklch */ color: oklch(40.1% 0.131 305.2);
Tailwind
colors: {
  custom: {
    50: '#8b6aa5',
    500: '#59307f',
    950: '#000000',
  },
}
SCSS
$custom: #59307f;
$custom-light: #8b6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#59307f",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 271.139,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.1305,
    "h": 305.2
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#59307F
secondary
#84AC5F
accent
#D55391
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #59307F

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

Preview Lab → · Contrast checker → · Palette generator →

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