#59339C#59339C

#59339C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.162 H 295.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#59339C
RGBrgb(89, 51, 156)
HSLhsl(262, 51%, 41%)
HSVhsv(262, 67%, 61%)
CMYKcmyk(42.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(31.56, 40.88, -51.22)
CIE-LCHlch(31.56, 65.54, 308.59°)
OKLaboklab(42.78% 0.0692 -0.1463)
OKLCHoklch(42.78% 0.162 295.3)
XYZxyz(11.3028, 6.8915, 32.1807)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59339C #769C33
analogous
#33419C #59339C #8D339C
triadic
#59339C #9C5933 #339C59
tetradic
#59339C #9C3341 #769C33 #339C8D
square
#59339C #9C3341 #769C33 #339C8D
split-complementary
#59339C #9C8D33 #419C33
monochromatic
#241540 #3F246E #59339C #7549C3 #9877D3

Accessibility & contrast

On white

8.83
#59339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#59339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59339C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59339C#FFFFFF#000000##FFFFFF
##59339C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#474C63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #59339c;
/* rgb */ color: rgb(89, 51, 156);
/* oklch */ color: oklch(42.8% 0.162 295.3);
Tailwind
colors: {
  custom: {
    50: '#8d6dba',
    500: '#59339c',
    950: '#000000',
  },
}
SCSS
$custom: #59339c;
$custom-light: #8d6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#59339c",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 261.714,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.16185,
    "h": 295.3
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#59339C
secondary
#A0BB70
accent
#DA4EA7
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #59339C

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

Preview Lab → · Contrast checker → · Palette generator →

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