#59319F#59319F

#59319F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.168 H 295.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#59319F
RGBrgb(89, 49, 159)
HSLhsl(262, 53%, 41%)
HSVhsv(262, 69%, 62%)
CMYKcmyk(44%, 69.2%, 0%, 37.6%)
CIE-LABlab(31.40, 42.80, -53.30)
CIE-LCHlch(31.40, 68.36, 308.76°)
OKLaboklab(42.74% 0.0709 -0.1524)
OKLCHoklch(42.74% 0.168 295)
XYZxyz(11.4745, 6.8234, 33.5067)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59319F #779F31
analogous
#31409F #59319F #90319F
triadic
#59319F #9F5931 #319F59
tetradic
#59319F #9F3140 #779F31 #319F90
square
#59319F #9F3140 #779F31 #319F90
split-complementary
#59319F #9F9031 #409F31
monochromatic
#251441 #3F2370 #59319F #7547C6 #9876D5

Accessibility & contrast

On white

8.88
#59319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#59319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59319F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59319F#FFFFFF#000000##FFFFFF
##59319F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#464C64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #59319f;
/* rgb */ color: rgb(89, 49, 159);
/* oklch */ color: oklch(42.7% 0.168 295.0);
Tailwind
colors: {
  custom: {
    50: '#8e6cbc',
    500: '#59319f',
    950: '#000000',
  },
}
SCSS
$custom: #59319f;
$custom-light: #8e6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#59319f",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 261.818,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.1681,
    "h": 295
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#59319F
secondary
#A1BD6F
accent
#DC4CA8
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #59319F

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

Preview Lab → · Contrast checker → · Palette generator →

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