#5C39CF#5C39CF

#5C39CF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.215 H 285.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5C39CF
RGBrgb(92, 57, 207)
HSLhsl(254, 61%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(55.6%, 72.5%, 0%, 18.8%)
CIE-LABlab(37.31, 52.68, -72.05)
CIE-LCHlch(37.31, 89.25, 306.17°)
OKLaboklab(48.28% 0.0586 -0.2073)
OKLCHoklch(48.28% 0.215 285.8)
XYZxyz(17.1359, 9.7056, 59.9898)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39CF #ACCF39
analogous
#3961CF #5C39CF #A739CF
triadic
#5C39CF #CF5C39 #39CF5C
tetradic
#5C39CF #CF3961 #ACCF39 #39CFA7
square
#5C39CF #CF3961 #ACCF39 #39CFA7
split-complementary
#5C39CF #CFA739 #61CF39
monochromatic
#301C72 #4428A3 #5C39CF #856ADB #AD9CE7

Accessibility & contrast

On white

7.14
#5C39CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5C39CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39CF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39CF#FFFFFF#000000##FFFFFF
##5C39CF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#266281
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c39cf;
/* rgb */ color: rgb(92, 57, 207);
/* oklch */ color: oklch(48.3% 0.215 285.8);
Tailwind
colors: {
  custom: {
    50: '#9673df',
    500: '#5c39cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c39cf;
$custom-light: #9673df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39cf",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 254,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.21548,
    "h": 285.8
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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