#5D36BE#5D36BE

#5D36BE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.199 H 289.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5D36BE
RGBrgb(93, 54, 190)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.1%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.37, 49.55, -65.31)
CIE-LCHlch(35.37, 81.98, 307.18°)
OKLaboklab(46.47% 0.0662 -0.1875)
OKLCHoklch(46.47% 0.199 289.4)
XYZxyz(15.1249, 8.6825, 49.5842)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36BE #97BE36
analogous
#3653BE #5D36BE #A136BE
triadic
#5D36BE #BE5D36 #36BE5D
tetradic
#5D36BE #BE3653 #97BE36 #36BEA1
square
#5D36BE #BE3653 #97BE36 #36BEA1
split-complementary
#5D36BE #BEA136 #53BE36
monochromatic
#2E1B5F #46288E #5D36BE #8060D2 #A68FDF

Accessibility & contrast

On white

7.67
#5D36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36BE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36BE#FFFFFF#000000##FFFFFF
##5D36BE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#3A5A76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d36be;
/* rgb */ color: rgb(93, 54, 190);
/* oklch */ color: oklch(46.5% 0.199 289.4);
Tailwind
colors: {
  custom: {
    50: '#9471d3',
    500: '#5d36be',
    950: '#000000',
  },
}
SCSS
$custom: #5d36be;
$custom-light: #9471d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36be",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 257.206,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46469,
    "c": 0.19889,
    "h": 289.4
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#5D36BE
secondary
#B6CA86
accent
#DF49B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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