#5D39BF#5D39BF

#5D39BF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.197 H 288.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5D39BF
RGBrgb(93, 57, 191)
HSLhsl(256, 54%, 49%)
HSVhsv(256, 70%, 75%)
CMYKcmyk(51.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.01, 48.27, -64.84)
CIE-LCHlch(36.01, 80.83, 306.66°)
OKLaboklab(46.95% 0.0634 -0.1862)
OKLCHoklch(46.95% 0.197 288.8)
XYZxyz(15.3786, 9.0143, 50.2097)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39BF #9BBF39
analogous
#3958BF #5D39BF #A039BF
triadic
#5D39BF #BF5D39 #39BF5D
tetradic
#5D39BF #BF3958 #9BBF39 #39BFA0
square
#5D39BF #BF3958 #9BBF39 #39BFA0
split-complementary
#5D39BF #BFA039 #58BF39
monochromatic
#2F1D61 #462B90 #5D39BF #8164D1 #A893DF

Accessibility & contrast

On white

7.49
#5D39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39BF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39BF#FFFFFF#000000##FFFFFF
##5D39BF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#395C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d39bf;
/* rgb */ color: rgb(93, 57, 191);
/* oklch */ color: oklch(47.0% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#9472d3',
    500: '#5d39bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d39bf;
$custom-light: #9472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39bf",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 256.119,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.19667,
    "h": 288.8
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#5D39BF
secondary
#B9CA8A
accent
#DD4AB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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