#5C39CD#5C39CD

#5C39CD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.213 H 286.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5C39CD
RGBrgb(92, 57, 205)
HSLhsl(254, 60%, 51%)
HSVhsv(254, 72%, 80%)
CMYKcmyk(55.1%, 72.2%, 0%, 19.6%)
CIE-LABlab(37.13, 52.11, -71.18)
CIE-LCHlch(37.13, 88.22, 306.21°)
OKLaboklab(48.1% 0.0591 -0.2048)
OKLCHoklch(48.1% 0.213 286.1)
XYZxyz(16.8929, 9.6084, 58.7102)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39CD #AACD39
analogous
#3960CD #5C39CD #A639CD
triadic
#5C39CD #CD5C39 #39CD5C
tetradic
#5C39CD #CD3960 #AACD39 #39CDA6
square
#5C39CD #CD3960 #AACD39 #39CDA6
split-complementary
#5C39CD #CDA639 #60CD39
monochromatic
#301C6F #4528A0 #5C39CD #846AD9 #AC9BE6

Accessibility & contrast

On white

7.19
#5C39CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5C39CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39CD#FFFFFF#000000##FFFFFF
##5C39CD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#296180
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c39cd;
/* rgb */ color: rgb(92, 57, 205);
/* oklch */ color: oklch(48.1% 0.213 286.1);
Tailwind
colors: {
  custom: {
    50: '#9673dd',
    500: '#5c39cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c39cd;
$custom-light: #9673dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39cd",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 254.189,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.21316,
    "h": 286.1
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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