#5D36C8#5D36C8

#5D36C8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.210 H 287.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5D36C8
RGBrgb(93, 54, 200)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 73%, 78%)
CMYKcmyk(53.5%, 73%, 0%, 21.6%)
CIE-LABlab(36.24, 52.36, -69.73)
CIE-LCHlch(36.24, 87.19, 306.90°)
OKLaboklab(47.36% 0.064 -0.2005)
OKLCHoklch(47.36% 0.21 287.7)
XYZxyz(16.2556, 9.1348, 55.5390)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C8 #A1C836
analogous
#3658C8 #5D36C8 #A636C8
triadic
#5D36C8 #C85D36 #36C85D
tetradic
#5D36C8 #C83658 #A1C836 #36C8A6
square
#5D36C8 #C83658 #A1C836 #36C8A6
split-complementary
#5D36C8 #C8A636 #58C836
monochromatic
#301C68 #472998 #5D36C8 #8466D6 #AA96E3

Accessibility & contrast

On white

7.43
#5D36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C8#FFFFFF#000000##FFFFFF
##5D36C81.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#325E7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d36c8;
/* rgb */ color: rgb(93, 54, 200);
/* oklch */ color: oklch(47.4% 0.210 287.7);
Tailwind
colors: {
  custom: {
    50: '#9671da',
    500: '#5d36c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c8;
$custom-light: #9671da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c8",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 256.027,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.21047,
    "h": 287.7
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#5D36C8
secondary
#BCCE8C
accent
#E147B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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