#59338B#59338B

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

Color values

HEX#59338B
RGBrgb(89, 51, 139)
HSLhsl(266, 46%, 37%)
HSVhsv(266, 63%, 55%)
CMYKcmyk(36%, 63.3%, 0%, 45.5%)
CIE-LABlab(30.29, 36.21, -42.85)
CIE-LCHlch(30.29, 56.11, 310.20°)
OKLaboklab(41.46% 0.0708 -0.1217)
OKLCHoklch(41.46% 0.141 300.2)
XYZxyz(9.9627, 6.3555, 25.1229)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59338B #658B33
analogous
#33398B #59338B #85338B
triadic
#59338B #8B5933 #338B59
tetradic
#59338B #8B3339 #658B33 #338B85
square
#59338B #8B3339 #658B33 #338B85
split-complementary
#59338B #8B8533 #398B33
monochromatic
#201231 #3C235E #59338B #7643B8 #966ECA

Accessibility & contrast

On white

9.25
#59338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59338B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59338B#FFFFFF#000000##FFFFFF
##59338B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#4E465A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #59338b;
/* rgb */ color: rgb(89, 51, 139);
/* oklch */ color: oklch(41.5% 0.141 300.2);
Tailwind
colors: {
  custom: {
    50: '#8c6dad',
    500: '#59338b',
    950: '#000000',
  },
}
SCSS
$custom: #59338b;
$custom-light: #8c6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#59338b",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 265.909,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.1408,
    "h": 300.2
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#59338B
secondary
#92B268
accent
#D6529D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #59338B

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

Preview Lab → · Contrast checker → · Palette generator →

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