#5D36BB#5D36BB

#5D36BB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.195 H 290.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5D36BB
RGBrgb(93, 54, 187)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 73%)
CMYKcmyk(50.3%, 71.1%, 0%, 26.7%)
CIE-LABlab(35.11, 48.70, -63.96)
CIE-LCHlch(35.11, 80.40, 307.29°)
OKLaboklab(46.21% 0.0668 -0.1836)
OKLCHoklch(46.21% 0.195 290)
XYZxyz(14.8004, 8.5527, 47.8751)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36BB #94BB36
analogous
#3651BB #5D36BB #A036BB
triadic
#5D36BB #BB5D36 #36BB5D
tetradic
#5D36BB #BB3651 #94BB36 #36BBA0
square
#5D36BB #BB3651 #94BB36 #36BBA0
split-complementary
#5D36BB #BBA036 #51BB36
monochromatic
#2E1B5C #45288C #5D36BB #7F5ED0 #A58DDE

Accessibility & contrast

On white

7.75
#5D36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36BB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36BB#FFFFFF#000000##FFFFFF
##5D36BB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#3C5975
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d36bb;
/* rgb */ color: rgb(93, 54, 187);
/* oklch */ color: oklch(46.2% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#9470d0',
    500: '#5d36bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d36bb;
$custom-light: #9470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36bb",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 257.594,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.19539,
    "h": 290
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#5D36BB
secondary
#B5C984
accent
#DF49B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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