#59339F#59339F

#59339F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.166 H 294.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#59339F
RGBrgb(89, 51, 159)
HSLhsl(261, 51%, 41%)
HSVhsv(261, 68%, 62%)
CMYKcmyk(44%, 67.9%, 0%, 37.6%)
CIE-LABlab(31.79, 41.72, -52.66)
CIE-LCHlch(31.79, 67.18, 308.39°)
OKLaboklab(43.02% 0.0688 -0.1505)
OKLCHoklch(43.02% 0.166 294.6)
XYZxyz(11.5600, 6.9944, 33.5352)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59339F #799F33
analogous
#33439F #59339F #8F339F
triadic
#59339F #9F5933 #339F59
tetradic
#59339F #9F3343 #799F33 #339F8F
square
#59339F #9F3343 #799F33 #339F8F
split-complementary
#59339F #9F8F33 #439F33
monochromatic
#251542 #3F2471 #59339F #754AC5 #9979D4

Accessibility & contrast

On white

8.75
#59339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#59339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59339F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59339F#FFFFFF#000000##FFFFFF
##59339F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#464D64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #59339f;
/* rgb */ color: rgb(89, 51, 159);
/* oklch */ color: oklch(43.0% 0.166 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e6dbc',
    500: '#59339f',
    950: '#000000',
  },
}
SCSS
$custom: #59339f;
$custom-light: #8e6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#59339f",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 261.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.16552,
    "h": 294.6
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#59339F
secondary
#A2BC71
accent
#DB4DA9
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #59339F

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

Preview Lab → · Contrast checker → · Palette generator →

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