#5D36BC#5D36BC

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

Color values

HEX#5D36BC
RGBrgb(93, 54, 188)
HSLhsl(257, 55%, 47%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(50.5%, 71.3%, 0%, 26.3%)
CIE-LABlab(35.19, 48.98, -64.41)
CIE-LCHlch(35.19, 80.92, 307.25°)
OKLaboklab(46.29% 0.0666 -0.1849)
OKLCHoklch(46.29% 0.197 289.8)
XYZxyz(14.9079, 8.5957, 48.4408)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36BC #95BC36
analogous
#3652BC #5D36BC #A036BC
triadic
#5D36BC #BC5D36 #36BC5D
tetradic
#5D36BC #BC3652 #95BC36 #36BCA0
square
#5D36BC #BC3652 #95BC36 #36BCA0
split-complementary
#5D36BC #BCA036 #52BC36
monochromatic
#2E1B5D #45288C #5D36BC #805ED1 #A58EDF

Accessibility & contrast

On white

7.72
#5D36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D36BC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36BC#FFFFFF#000000##FFFFFF
##5D36BC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#3C5975
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d36bc;
/* rgb */ color: rgb(93, 54, 188);
/* oklch */ color: oklch(46.3% 0.197 289.8);
Tailwind
colors: {
  custom: {
    50: '#9470d1',
    500: '#5d36bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d36bc;
$custom-light: #9470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36bc",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 257.463,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.19655,
    "h": 289.8
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#5D36BC
secondary
#B5C985
accent
#DF49B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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