#5D36D1#5D36D1

#5D36D1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.221 H 286.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5D36D1
RGBrgb(93, 54, 209)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(55.5%, 74.2%, 0%, 18%)
CIE-LABlab(37.06, 54.88, -73.62)
CIE-LCHlch(37.06, 91.82, 306.70°)
OKLaboklab(48.18% 0.0619 -0.2119)
OKLCHoklch(48.18% 0.221 286.3)
XYZxyz(17.3385, 9.5680, 61.2424)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36D1 #AAD136
analogous
#365DD1 #5D36D1 #AB36D1
triadic
#5D36D1 #D15D36 #36D15D
tetradic
#5D36D1 #D1365D #AAD136 #36D1AB
square
#5D36D1 #D1365D #AAD136 #36D1AB
split-complementary
#5D36D1 #D1AB36 #5DD136
monochromatic
#301A72 #4526A4 #5D36D1 #8568DC #AD9AE8

Accessibility & contrast

On white

7.21
#5D36D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D36D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36D1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36D1#FFFFFF#000000##FFFFFF
##5D36D11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#276181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d36d1;
/* rgb */ color: rgb(93, 54, 209);
/* oklch */ color: oklch(48.2% 0.221 286.3);
Tailwind
colors: {
  custom: {
    50: '#9771e0',
    500: '#5d36d1',
    950: '#000000',
  },
}
SCSS
$custom: #5d36d1;
$custom-light: #9771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36d1",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 255.097,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.22074,
    "h": 286.3
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#5D36D1
secondary
#C2D38F
accent
#E642BD
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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