#59338A#59338A

#59338A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.140 H 300.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#59338A
RGBrgb(89, 51, 138)
HSLhsl(266, 46%, 37%)
HSVhsv(266, 63%, 54%)
CMYKcmyk(35.5%, 63%, 0%, 45.9%)
CIE-LABlab(30.22, 35.94, -42.35)
CIE-LCHlch(30.22, 55.55, 310.32°)
OKLaboklab(41.39% 0.0709 -0.1202)
OKLCHoklch(41.39% 0.14 300.5)
XYZxyz(9.8900, 6.3264, 24.7399)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59338A #648A33
analogous
#33388A #59338A #85338A
triadic
#59338A #8A5933 #338A59
tetradic
#59338A #8A3338 #648A33 #338A85
square
#59338A #8A3338 #648A33 #338A85
split-complementary
#59338A #8A8533 #388A33
monochromatic
#1F1231 #3C225D #59338A #7644B7 #966EC9

Accessibility & contrast

On white

9.27
#59338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#59338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59338A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59338A#FFFFFF#000000##FFFFFF
##59338A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#4F4659
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #59338a;
/* rgb */ color: rgb(89, 51, 138);
/* oklch */ color: oklch(41.4% 0.140 300.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dad',
    500: '#59338a',
    950: '#000000',
  },
}
SCSS
$custom: #59338a;
$custom-light: #8c6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#59338a",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 266.207,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.13955,
    "h": 300.5
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#59338A
secondary
#91B167
accent
#D6529C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #59338A

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

Preview Lab → · Contrast checker → · Palette generator →

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