#5D39CD#5D39CD

#5D39CD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.213 H 286.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5D39CD
RGBrgb(93, 57, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 72%, 80%)
CMYKcmyk(54.6%, 72.2%, 0%, 19.6%)
CIE-LABlab(37.23, 52.26, -71.02)
CIE-LCHlch(37.23, 88.17, 306.34°)
OKLaboklab(48.19% 0.0605 -0.2043)
OKLCHoklch(48.19% 0.213 286.5)
XYZxyz(16.9935, 9.6603, 58.7150)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39CD #A9CD39
analogous
#395FCD #5D39CD #A739CD
triadic
#5D39CD #CD5D39 #39CD5D
tetradic
#5D39CD #CD395F #A9CD39 #39CDA7
square
#5D39CD #CD395F #A9CD39 #39CDA7
split-complementary
#5D39CD #CDA739 #5FCD39
monochromatic
#301C6F #4628A0 #5D39CD #856AD9 #AD9BE6

Accessibility & contrast

On white

7.16
#5D39CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D39CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39CD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39CD#FFFFFF#000000##FFFFFF
##5D39CD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#2C6180
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d39cd;
/* rgb */ color: rgb(93, 57, 205);
/* oklch */ color: oklch(48.2% 0.213 286.5);
Tailwind
colors: {
  custom: {
    50: '#9673dd',
    500: '#5d39cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d39cd;
$custom-light: #9673dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39cd",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 254.595,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.21308,
    "h": 286.5
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#5D39CD
secondary
#C2D290
accent
#E345BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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