#59339A#59339A

#59339A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.159 H 295.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#59339A
RGBrgb(89, 51, 154)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.2%, 66.9%, 0%, 39.6%)
CIE-LABlab(31.40, 40.33, -50.26)
CIE-LCHlch(31.40, 64.44, 308.74°)
OKLaboklab(42.62% 0.0695 -0.1435)
OKLCHoklch(42.62% 0.159 295.8)
XYZxyz(11.1348, 6.8244, 31.2962)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59339A #749A33
analogous
#33409A #59339A #8C339A
triadic
#59339A #9A5933 #339A59
tetradic
#59339A #9A3340 #749A33 #339A8C
square
#59339A #9A3340 #749A33 #339A8C
split-complementary
#59339A #9A8C33 #409A33
monochromatic
#24153E #3E246C #59339A #7548C2 #9876D2

Accessibility & contrast

On white

8.88
#59339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#59339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59339A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59339A#FFFFFF#000000##FFFFFF
##59339A1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#484B62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #59339a;
/* rgb */ color: rgb(89, 51, 154);
/* oklch */ color: oklch(42.6% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#8d6db8',
    500: '#59339a',
    950: '#000000',
  },
}
SCSS
$custom: #59339a;
$custom-light: #8d6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#59339a",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 262.136,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42618,
    "c": 0.15941,
    "h": 295.8
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#59339A
secondary
#9EBA6F
accent
#DA4EA6
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #59339A

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

Preview Lab → · Contrast checker → · Palette generator →

#59339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva