#59319B#59319B

#59319B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.163 H 296.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#59319B
RGBrgb(89, 49, 155)
HSLhsl(263, 52%, 40%)
HSVhsv(263, 68%, 61%)
CMYKcmyk(42.6%, 68.4%, 0%, 39.2%)
CIE-LABlab(31.08, 41.70, -51.39)
CIE-LCHlch(31.08, 66.18, 309.06°)
OKLaboklab(42.41% 0.0716 -0.1468)
OKLCHoklch(42.41% 0.163 296)
XYZxyz(11.1330, 6.6868, 31.7081)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59319B #739B31
analogous
#313E9B #59319B #8E319B
triadic
#59319B #9B5931 #319B59
tetradic
#59319B #9B313E #739B31 #319B8E
square
#59319B #9B313E #739B31 #319B8E
split-complementary
#59319B #9B8E31 #3E9B31
monochromatic
#24143E #3E226D #59319B #7545C4 #9873D3

Accessibility & contrast

On white

8.98
#59319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#59319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59319B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59319B#FFFFFF#000000##FFFFFF
##59319B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#484A62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #59319b;
/* rgb */ color: rgb(89, 49, 155);
/* oklch */ color: oklch(42.4% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#8e6cb9',
    500: '#59319b',
    950: '#000000',
  },
}
SCSS
$custom: #59319b;
$custom-light: #8e6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#59319b",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 262.642,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.16329,
    "h": 296
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#59319B
secondary
#9DBB6D
accent
#DB4CA5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #59319B

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

Preview Lab → · Contrast checker → · Palette generator →

#59319B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva