#5C36CF#5C36CF

#5C36CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.219 H 286.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5C36CF
RGBrgb(92, 54, 207)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(55.6%, 73.9%, 0%, 18.8%)
CIE-LABlab(36.78, 54.18, -72.92)
CIE-LCHlch(36.78, 90.85, 306.61°)
OKLaboklab(47.9% 0.0609 -0.2099)
OKLCHoklch(47.9% 0.219 286.2)
XYZxyz(16.9919, 9.4177, 59.9418)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36CF #A9CF36
analogous
#365CCF #5C36CF #A836CF
triadic
#5C36CF #CF5C36 #36CF5C
tetradic
#5C36CF #CF365C #A9CF36 #36CFA8
square
#5C36CF #CF365C #A9CF36 #36CFA8
split-complementary
#5C36CF #CFA836 #5CCF36
monochromatic
#301B70 #4527A1 #5C36CF #8467DB #AC99E7

Accessibility & contrast

On white

7.28
#5C36CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5C36CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36CF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36CF#FFFFFF#000000##FFFFFF
##5C36CF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#276080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c36cf;
/* rgb */ color: rgb(92, 54, 207);
/* oklch */ color: oklch(47.9% 0.219 286.2);
Tailwind
colors: {
  custom: {
    50: '#9671df',
    500: '#5c36cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c36cf;
$custom-light: #9671df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36cf",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 254.902,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.21855,
    "h": 286.2
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#5C36CF
secondary
#C1D28F
accent
#E543BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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