#5C36D2#5C36D2

#5C36D2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.222 H 285.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5C36D2
RGBrgb(92, 54, 210)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(56.2%, 74.3%, 0%, 17.6%)
CIE-LABlab(37.05, 55.03, -74.21)
CIE-LCHlch(37.05, 92.38, 306.56°)
OKLaboklab(48.18% 0.0602 -0.2136)
OKLCHoklch(48.18% 0.222 285.7)
XYZxyz(17.3621, 9.5658, 61.8918)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36D2 #ACD236
analogous
#365ED2 #5C36D2 #AA36D2
triadic
#5C36D2 #D25C36 #36D25C
tetradic
#5C36D2 #D2365E #ACD236 #36D2AA
square
#5C36D2 #D2365E #ACD236 #36D2AA
split-complementary
#5C36D2 #D2AA36 #5ED236
monochromatic
#301A74 #4425A6 #5C36D2 #8568DD #AD9AE8

Accessibility & contrast

On white

7.21
#5C36D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5C36D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36D2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36D2#FFFFFF#000000##FFFFFF
##5C36D21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#226282
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c36d2;
/* rgb */ color: rgb(92, 54, 210);
/* oklch */ color: oklch(48.2% 0.222 285.7);
Tailwind
colors: {
  custom: {
    50: '#9771e1',
    500: '#5c36d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c36d2;
$custom-light: #9771e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36d2",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 254.615,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.22196,
    "h": 285.7
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#5C36D2
secondary
#C3D490
accent
#E641BE
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #5C36D2

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

Preview Lab → · Contrast checker → · Palette generator →

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