#5C36BD#5C36BD

#5C36BD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.198 H 289.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5C36BD
RGBrgb(92, 54, 189)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(51.3%, 71.4%, 0%, 25.9%)
CIE-LABlab(35.18, 49.10, -65.03)
CIE-LCHlch(35.18, 81.49, 307.05°)
OKLaboklab(46.28% 0.065 -0.1868)
OKLCHoklch(46.28% 0.198 289.2)
XYZxyz(14.9154, 8.5871, 49.0058)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36BD #97BD36
analogous
#3653BD #5C36BD #A036BD
triadic
#5C36BD #BD5C36 #36BD5C
tetradic
#5C36BD #BD3653 #97BD36 #36BDA0
square
#5C36BD #BD3653 #97BD36 #36BDA0
split-complementary
#5C36BD #BDA036 #53BD36
monochromatic
#2E1B5E #45288D #5C36BD #7F5FD1 #A58FDF

Accessibility & contrast

On white

7.73
#5C36BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5C36BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36BD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36BD#FFFFFF#000000##FFFFFF
##5C36BD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#395976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c36bd;
/* rgb */ color: rgb(92, 54, 189);
/* oklch */ color: oklch(46.3% 0.198 289.2);
Tailwind
colors: {
  custom: {
    50: '#9370d2',
    500: '#5c36bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c36bd;
$custom-light: #9370d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36bd",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 256.889,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.19775,
    "h": 289.2
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#5C36BD
secondary
#B6C985
accent
#DF49B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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