#5D36C9#5D36C9

#5D36C9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.212 H 287.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5D36C9
RGBrgb(93, 54, 201)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 73%, 79%)
CMYKcmyk(53.7%, 73.1%, 0%, 21.2%)
CIE-LABlab(36.33, 52.64, -70.16)
CIE-LCHlch(36.33, 87.71, 306.88°)
OKLaboklab(47.45% 0.0638 -0.2018)
OKLCHoklch(47.45% 0.212 287.5)
XYZxyz(16.3729, 9.1817, 56.1565)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C9 #A2C936
analogous
#3659C9 #5D36C9 #A636C9
triadic
#5D36C9 #C95D36 #36C95D
tetradic
#5D36C9 #C93659 #A2C936 #36C9A6
square
#5D36C9 #C93659 #A2C936 #36C9A6
split-complementary
#5D36C9 #C9A636 #59C936
monochromatic
#301C69 #472999 #5D36C9 #8466D6 #AB96E3

Accessibility & contrast

On white

7.40
#5D36C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5D36C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C9#FFFFFF#000000##FFFFFF
##5D36C91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#315E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d36c9;
/* rgb */ color: rgb(93, 54, 201);
/* oklch */ color: oklch(47.4% 0.212 287.5);
Tailwind
colors: {
  custom: {
    50: '#9671db',
    500: '#5d36c9',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c9;
$custom-light: #9671db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c9",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 255.918,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.21162,
    "h": 287.5
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#5D36C9
secondary
#BDCE8C
accent
#E147B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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