#5C36D7#5C36D7

#5C36D7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.228 H 285.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5C36D7
RGBrgb(92, 54, 215)
HSLhsl(254, 67%, 53%)
HSVhsv(254, 75%, 84%)
CMYKcmyk(57.2%, 74.9%, 0%, 15.7%)
CIE-LABlab(37.52, 56.44, -76.33)
CIE-LCHlch(37.52, 94.93, 306.48°)
OKLaboklab(48.65% 0.0589 -0.2198)
OKLCHoklch(48.65% 0.228 285)
XYZxyz(17.9948, 9.8188, 65.2238)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36D7 #B1D736
analogous
#3661D7 #5C36D7 #AC36D7
triadic
#5C36D7 #D75C36 #36D75C
tetradic
#5C36D7 #D73661 #B1D736 #36D7AC
square
#5C36D7 #D73661 #B1D736 #36D7AC
split-complementary
#5C36D7 #D7AC36 #61D736
monochromatic
#2F187A #4322AD #5C36D7 #8569E1 #AF9CEB

Accessibility & contrast

On white

7.09
#5C36D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5C36D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36D7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36D7#FFFFFF#000000##FFFFFF
##5C36D71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#1A6484
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c36d7;
/* rgb */ color: rgb(92, 54, 215);
/* oklch */ color: oklch(48.6% 0.228 285.0);
Tailwind
colors: {
  custom: {
    50: '#9772e5',
    500: '#5c36d7',
    950: '#000000',
  },
}
SCSS
$custom: #5c36d7;
$custom-light: #9772e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36d7",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 254.161,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.22761,
    "h": 285
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#5C36D7
secondary
#C7D792
accent
#EA3EC1
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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