#5C36C8#5C36C8

#5C36C8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.211 H 287.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5C36C8
RGBrgb(92, 54, 200)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 73%, 78%)
CMYKcmyk(54%, 73%, 0%, 21.6%)
CIE-LABlab(36.14, 52.21, -69.89)
CIE-LCHlch(36.14, 87.24, 306.76°)
OKLaboklab(47.27% 0.0626 -0.201)
OKLCHoklch(47.27% 0.211 287.3)
XYZxyz(16.1550, 9.0829, 55.5343)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36C8 #A2C836
analogous
#3659C8 #5C36C8 #A536C8
triadic
#5C36C8 #C85C36 #36C85C
tetradic
#5C36C8 #C83659 #A2C836 #36C8A5
square
#5C36C8 #C83659 #A2C836 #36C8A5
split-complementary
#5C36C8 #C8A536 #59C836
monochromatic
#301C68 #462998 #5C36C8 #8366D6 #AA96E3

Accessibility & contrast

On white

7.46
#5C36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36C8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36C8#FFFFFF#000000##FFFFFF
##5C36C81.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#2F5E7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c36c8;
/* rgb */ color: rgb(92, 54, 200);
/* oklch */ color: oklch(47.3% 0.211 287.3);
Tailwind
colors: {
  custom: {
    50: '#9571da',
    500: '#5c36c8',
    950: '#000000',
  },
}
SCSS
$custom: #5c36c8;
$custom-light: #9571da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36c8",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 255.616,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.21053,
    "h": 287.3
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#5C36C8
secondary
#BDCE8C
accent
#E147B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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