#5C36D4#5C36D4

#5C36D4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.224 H 285.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C36D4
RGBrgb(92, 54, 212)
HSLhsl(254, 65%, 52%)
HSVhsv(254, 75%, 83%)
CMYKcmyk(56.6%, 74.5%, 0%, 16.9%)
CIE-LABlab(37.24, 55.59, -75.06)
CIE-LCHlch(37.24, 93.40, 306.53°)
OKLaboklab(48.37% 0.0597 -0.2161)
OKLCHoklch(48.37% 0.224 285.4)
XYZxyz(17.6129, 9.6661, 63.2122)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36D4 #AED436
analogous
#365FD4 #5C36D4 #AB36D4
triadic
#5C36D4 #D45C36 #36D45C
tetradic
#5C36D4 #D4365F #AED436 #36D4AB
square
#5C36D4 #D4365F #AED436 #36D4AB
split-complementary
#5C36D4 #D4AB36 #5FD436
monochromatic
#301976 #4424A9 #5C36D4 #8568DF #AE9BEA

Accessibility & contrast

On white

7.16
#5C36D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C36D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36D4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36D4#FFFFFF#000000##FFFFFF
##5C36D41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD9
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#1F6283
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c36d4;
/* rgb */ color: rgb(92, 54, 212);
/* oklch */ color: oklch(48.4% 0.224 285.4);
Tailwind
colors: {
  custom: {
    50: '#9771e2',
    500: '#5c36d4',
    950: '#000000',
  },
}
SCSS
$custom: #5c36d4;
$custom-light: #9771e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36d4",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 254.43,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48367,
    "c": 0.22423,
    "h": 285.4
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#5C36D4
secondary
#C5D590
accent
#E840BF
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C36D4

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

Preview Lab → · Contrast checker → · Palette generator →

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