#5D39DF#5D39DF

#5D39DF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.234 H 283.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5D39DF
RGBrgb(93, 57, 223)
HSLhsl(253, 72%, 55%)
HSVhsv(253, 74%, 87%)
CMYKcmyk(58.3%, 74.4%, 0%, 12.5%)
CIE-LABlab(38.86, 57.36, -78.70)
CIE-LCHlch(38.86, 97.38, 306.09°)
OKLaboklab(49.84% 0.0563 -0.2268)
OKLCHoklch(49.84% 0.234 283.9)
XYZxyz(19.2925, 10.5799, 70.8232)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39DF #BBDF39
analogous
#3968DF #5D39DF #B039DF
triadic
#5D39DF #DF5D39 #39DF5D
tetradic
#5D39DF #DF3968 #BBDF39 #39DFB0
square
#5D39DF #DF3968 #BBDF39 #39DFB0
split-complementary
#5D39DF #DFB039 #68DF39
monochromatic
#2F1688 #411EBC #5D39DF #886EE8 #B3A2F0

Accessibility & contrast

On white

6.74
#5D39DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D39DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D39DF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39DF#FFFFFF#000000##FFFFFF
##5D39DF1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#08688A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d39df;
/* rgb */ color: rgb(93, 57, 223);
/* oklch */ color: oklch(49.8% 0.234 283.9);
Tailwind
colors: {
  custom: {
    50: '#9974ea',
    500: '#5d39df',
    950: '#000000',
  },
}
SCSS
$custom: #5d39df;
$custom-light: #9974ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39df",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 253.012,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.23366,
    "h": 283.9
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#5D39DF
secondary
#CEDD97
accent
#EF39C7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D39DF

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

Preview Lab → · Contrast checker → · Palette generator →

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