#5D39BE#5D39BE

#5D39BE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.195 H 289.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5D39BE
RGBrgb(93, 57, 190)
HSLhsl(256, 54%, 48%)
HSVhsv(256, 70%, 75%)
CMYKcmyk(51.1%, 70%, 0%, 25.5%)
CIE-LABlab(35.93, 47.98, -64.39)
CIE-LCHlch(35.93, 80.30, 306.69°)
OKLaboklab(46.87% 0.0635 -0.1849)
OKLCHoklch(46.87% 0.195 289)
XYZxyz(15.2689, 8.9704, 49.6321)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39BE #9ABE39
analogous
#3957BE #5D39BE #9F39BE
triadic
#5D39BE #BE5D39 #39BE5D
tetradic
#5D39BE #BE3957 #9ABE39 #39BE9F
square
#5D39BE #BE3957 #9ABE39 #39BE9F
split-complementary
#5D39BE #BE9F39 #57BE39
monochromatic
#2F1D60 #462B8F #5D39BE #8164D0 #A793DF

Accessibility & contrast

On white

7.52
#5D39BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5D39BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39BE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39BE#FFFFFF#000000##FFFFFF
##5D39BE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#3A5B77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d39be;
/* rgb */ color: rgb(93, 57, 190);
/* oklch */ color: oklch(46.9% 0.195 289.0);
Tailwind
colors: {
  custom: {
    50: '#9472d3',
    500: '#5d39be',
    950: '#000000',
  },
}
SCSS
$custom: #5d39be;
$custom-light: #9472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39be",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 256.241,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.19548,
    "h": 289
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#5D39BE
secondary
#B8CA89
accent
#DD4BB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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