#59338E#59338E

#59338E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 299.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#59338E
RGBrgb(89, 51, 142)
HSLhsl(265, 47%, 38%)
HSVhsv(265, 64%, 56%)
CMYKcmyk(37.3%, 64.1%, 0%, 44.3%)
CIE-LABlab(30.51, 37.03, -44.36)
CIE-LCHlch(30.51, 57.78, 309.85°)
OKLaboklab(41.69% 0.0707 -0.1261)
OKLCHoklch(41.69% 0.145 299.3)
XYZxyz(10.1849, 6.4444, 26.2932)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59338E #688E33
analogous
#333A8E #59338E #86338E
triadic
#59338E #8E5933 #338E59
tetradic
#59338E #8E333A #688E33 #338E86
square
#59338E #8E333A #688E33 #338E86
split-complementary
#59338E #8E8633 #3A8E33
monochromatic
#211334 #3D2361 #59338E #7543BB #9670CC

Accessibility & contrast

On white

9.18
#59338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#59338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59338E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59338E#FFFFFF#000000##FFFFFF
##59338E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#4D475B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #59338e;
/* rgb */ color: rgb(89, 51, 142);
/* oklch */ color: oklch(41.7% 0.145 299.3);
Tailwind
colors: {
  custom: {
    50: '#8c6db0',
    500: '#59338e',
    950: '#000000',
  },
}
SCSS
$custom: #59338e;
$custom-light: #8c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#59338e",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 265.055,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.14456,
    "h": 299.3
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#59338E
secondary
#95B469
accent
#D7519F
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #59338E

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

Preview Lab → · Contrast checker → · Palette generator →

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