#5D39BC#5D39BC

#5D39BC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.193 H 289.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5D39BC
RGBrgb(93, 57, 188)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 70%, 74%)
CMYKcmyk(50.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(35.76, 47.41, -63.49)
CIE-LCHlch(35.76, 79.24, 306.75°)
OKLaboklab(46.7% 0.0639 -0.1822)
OKLCHoklch(46.7% 0.193 289.3)
XYZxyz(15.0518, 8.8836, 48.4888)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39BC #98BC39
analogous
#3956BC #5D39BC #9F39BC
triadic
#5D39BC #BC5D39 #39BC5D
tetradic
#5D39BC #BC3956 #98BC39 #39BC9F
square
#5D39BC #BC3956 #98BC39 #39BC9F
split-complementary
#5D39BC #BC9F39 #56BC39
monochromatic
#2F1D5E #462B8D #5D39BC #8163D0 #A792DE

Accessibility & contrast

On white

7.56
#5D39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D39BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39BC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39BC#FFFFFF#000000##FFFFFF
##5D39BC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#3B5B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d39bc;
/* rgb */ color: rgb(93, 57, 188);
/* oklch */ color: oklch(46.7% 0.193 289.3);
Tailwind
colors: {
  custom: {
    50: '#9472d1',
    500: '#5d39bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d39bc;
$custom-light: #9472d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39bc",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 256.489,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.1931,
    "h": 289.3
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#5D39BC
secondary
#B7C988
accent
#DD4BB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D39BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5D39BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva