#5D39CF#5D39CF

#5D39CF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.215 H 286.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5D39CF
RGBrgb(93, 57, 207)
HSLhsl(254, 61%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(55.1%, 72.5%, 0%, 18.8%)
CIE-LABlab(37.40, 52.83, -71.89)
CIE-LCHlch(37.40, 89.21, 306.31°)
OKLaboklab(48.37% 0.0601 -0.2068)
OKLCHoklch(48.37% 0.215 286.2)
XYZxyz(17.2364, 9.7574, 59.9945)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39CF #ABCF39
analogous
#3960CF #5D39CF #A839CF
triadic
#5D39CF #CF5D39 #39CF5D
tetradic
#5D39CF #CF3960 #ABCF39 #39CFA8
square
#5D39CF #CF3960 #ABCF39 #39CFA8
split-complementary
#5D39CF #CFA839 #60CF39
monochromatic
#301C72 #4528A3 #5D39CF #856ADB #AE9CE7

Accessibility & contrast

On white

7.11
#5D39CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5D39CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39CF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39CF#FFFFFF#000000##FFFFFF
##5D39CF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#2A6281
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d39cf;
/* rgb */ color: rgb(93, 57, 207);
/* oklch */ color: oklch(48.4% 0.215 286.2);
Tailwind
colors: {
  custom: {
    50: '#9673df',
    500: '#5d39cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d39cf;
$custom-light: #9673df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39cf",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 254.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.2154,
    "h": 286.2
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#5D39CF
secondary
#C3D391
accent
#E444BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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