#5D36BD#5D36BD

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

Color values

HEX#5D36BD
RGBrgb(93, 54, 189)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(50.8%, 71.4%, 0%, 25.9%)
CIE-LABlab(35.28, 49.26, -64.86)
CIE-LCHlch(35.28, 81.45, 307.22°)
OKLaboklab(46.38% 0.0664 -0.1862)
OKLCHoklch(46.38% 0.198 289.6)
XYZxyz(15.0160, 8.6390, 49.0105)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36BD #96BD36
analogous
#3653BD #5D36BD #A036BD
triadic
#5D36BD #BD5D36 #36BD5D
tetradic
#5D36BD #BD3653 #96BD36 #36BDA0
square
#5D36BD #BD3653 #96BD36 #36BDA0
split-complementary
#5D36BD #BDA036 #53BD36
monochromatic
#2E1B5E #46288D #5D36BD #805FD1 #A68FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D36BD#FFFFFF#000000##FFFFFF
##5D36BD1.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)
#0056C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#3B5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d36bd;
/* rgb */ color: rgb(93, 54, 189);
/* oklch */ color: oklch(46.4% 0.198 289.6);
Tailwind
colors: {
  custom: {
    50: '#9470d2',
    500: '#5d36bd',
    950: '#000000',
  },
}
SCSS
$custom: #5d36bd;
$custom-light: #9470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36bd",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 257.333,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46381,
    "c": 0.19773,
    "h": 289.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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