#5D36D3#5D36D3

#5D36D3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.223 H 286.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5D36D3
RGBrgb(93, 54, 211)
HSLhsl(255, 64%, 52%)
HSVhsv(255, 74%, 83%)
CMYKcmyk(55.9%, 74.4%, 0%, 17.3%)
CIE-LABlab(37.24, 55.44, -74.47)
CIE-LCHlch(37.24, 92.84, 306.67°)
OKLaboklab(48.36% 0.0614 -0.2144)
OKLCHoklch(48.36% 0.223 286)
XYZxyz(17.5877, 9.6676, 62.5547)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36D3 #ACD336
analogous
#365ED3 #5D36D3 #AB36D3
triadic
#5D36D3 #D35D36 #36D35D
tetradic
#5D36D3 #D3365E #ACD336 #36D3AB
square
#5D36D3 #D3365E #ACD336 #36D3AB
split-complementary
#5D36D3 #D3AB36 #5ED336
monochromatic
#301A75 #4525A7 #5D36D3 #8568DE #AE9AE9

Accessibility & contrast

On white

7.16
#5D36D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D36D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36D3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36D3#FFFFFF#000000##FFFFFF
##5D36D31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#256282
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d36d3;
/* rgb */ color: rgb(93, 54, 211);
/* oklch */ color: oklch(48.4% 0.223 286.0);
Tailwind
colors: {
  custom: {
    50: '#9771e2',
    500: '#5d36d3',
    950: '#000000',
  },
}
SCSS
$custom: #5d36d3;
$custom-light: #9771e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36d3",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 254.904,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.223,
    "h": 286
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#5D36D3
secondary
#C4D590
accent
#E741BE
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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