#5C36D1#5C36D1

#5C36D1 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.221 H 285.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5C36D1
RGBrgb(92, 54, 209)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(56%, 74.2%, 0%, 18%)
CIE-LABlab(36.96, 54.75, -73.78)
CIE-LCHlch(36.96, 91.87, 306.58°)
OKLaboklab(48.09% 0.0604 -0.2124)
OKLCHoklch(48.09% 0.221 285.9)
XYZxyz(17.2380, 9.5161, 61.2377)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36D1 #ABD136
analogous
#365ED1 #5C36D1 #AA36D1
triadic
#5C36D1 #D15C36 #36D15C
tetradic
#5C36D1 #D1365E #ABD136 #36D1AA
square
#5C36D1 #D1365E #ABD136 #36D1AA
split-complementary
#5C36D1 #D1AA36 #5ED136
monochromatic
#301A72 #4526A4 #5C36D1 #8468DC #AD9AE8

Accessibility & contrast

On white

7.23
#5C36D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C36D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36D1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36D1#FFFFFF#000000##FFFFFF
##5C36D11.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0052CE
Tritanopia (blue-blind)
#246181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c36d1;
/* rgb */ color: rgb(92, 54, 209);
/* oklch */ color: oklch(48.1% 0.221 285.9);
Tailwind
colors: {
  custom: {
    50: '#9671e0',
    500: '#5c36d1',
    950: '#000000',
  },
}
SCSS
$custom: #5c36d1;
$custom-light: #9671e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36d1",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 254.71,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.22083,
    "h": 285.9
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#5C36D1
secondary
#C3D38F
accent
#E642BE
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5C36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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