#5C36BE#5C36BE

#5C36BE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.199 H 289.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5C36BE
RGBrgb(92, 54, 190)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.6%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.26, 49.39, -65.48)
CIE-LCHlch(35.26, 82.02, 307.02°)
OKLaboklab(46.37% 0.0648 -0.1881)
OKLCHoklch(46.37% 0.199 289)
XYZxyz(15.0244, 8.6307, 49.5794)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36BE #98BE36
analogous
#3654BE #5C36BE #A036BE
triadic
#5C36BE #BE5C36 #36BE5C
tetradic
#5C36BE #BE3654 #98BE36 #36BEA0
square
#5C36BE #BE3654 #98BE36 #36BEA0
split-complementary
#5C36BE #BEA036 #54BE36
monochromatic
#2E1B5F #45288E #5C36BE #7F60D2 #A68FDF

Accessibility & contrast

On white

7.70
#5C36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5C36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36BE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36BE#FFFFFF#000000##FFFFFF
##5C36BE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#385A76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c36be;
/* rgb */ color: rgb(92, 54, 190);
/* oklch */ color: oklch(46.4% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#9470d3',
    500: '#5c36be',
    950: '#000000',
  },
}
SCSS
$custom: #5c36be;
$custom-light: #9470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36be",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 256.765,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.19893,
    "h": 289
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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