#59338C#59338C

#59338C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.142 H 299.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#59338C
RGBrgb(89, 51, 140)
HSLhsl(266, 47%, 37%)
HSVhsv(266, 64%, 55%)
CMYKcmyk(36.4%, 63.6%, 0%, 45.1%)
CIE-LABlab(30.36, 36.48, -43.36)
CIE-LCHlch(30.36, 56.67, 310.08°)
OKLaboklab(41.54% 0.0708 -0.1232)
OKLCHoklch(41.54% 0.142 299.9)
XYZxyz(10.0361, 6.3849, 25.5095)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59338C #668C33
analogous
#33398C #59338C #86338C
triadic
#59338C #8C5933 #338C59
tetradic
#59338C #8C3339 #668C33 #338C86
square
#59338C #8C3339 #668C33 #338C86
split-complementary
#59338C #8C8633 #398C33
monochromatic
#201232 #3C235F #59338C #7643B9 #966FCB

Accessibility & contrast

On white

9.22
#59338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#59338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59338C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59338C#FFFFFF#000000##FFFFFF
##59338C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#4E465A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #59338c;
/* rgb */ color: rgb(89, 51, 140);
/* oklch */ color: oklch(41.5% 0.142 299.9);
Tailwind
colors: {
  custom: {
    50: '#8c6dae',
    500: '#59338c',
    950: '#000000',
  },
}
SCSS
$custom: #59338c;
$custom-light: #8c6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#59338c",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 265.618,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.14206,
    "h": 299.9
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#59338C
secondary
#93B268
accent
#D6529E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #59338C

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

Preview Lab → · Contrast checker → · Palette generator →

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