#59338F#59338F

#59338F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.146 H 298.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#59338F
RGBrgb(89, 51, 143)
HSLhsl(265, 47%, 38%)
HSVhsv(265, 64%, 56%)
CMYKcmyk(37.8%, 64.3%, 0%, 43.9%)
CIE-LABlab(30.58, 37.30, -44.86)
CIE-LCHlch(30.58, 58.34, 309.74°)
OKLaboklab(41.76% 0.0706 -0.1276)
OKLCHoklch(41.76% 0.146 298.9)
XYZxyz(10.2603, 6.4746, 26.6904)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59338F #698F33
analogous
#333B8F #59338F #87338F
triadic
#59338F #8F5933 #338F59
tetradic
#59338F #8F333B #698F33 #338F87
square
#59338F #8F333B #698F33 #338F87
split-complementary
#59338F #8F8733 #3B8F33
monochromatic
#211335 #3D2362 #59338F #7543BC #9670CC

Accessibility & contrast

On white

9.15
#59338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#59338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59338F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59338F#FFFFFF#000000##FFFFFF
##59338F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#4D475C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #59338f;
/* rgb */ color: rgb(89, 51, 143);
/* oklch */ color: oklch(41.8% 0.146 298.9);
Tailwind
colors: {
  custom: {
    50: '#8c6db0',
    500: '#59338f',
    950: '#000000',
  },
}
SCSS
$custom: #59338f;
$custom-light: #8c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#59338f",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 264.783,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.14581,
    "h": 298.9
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#59338F
secondary
#95B46A
accent
#D751A0
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #59338F

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

Preview Lab → · Contrast checker → · Palette generator →

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