#5D36D7#5D36D7

#5D36D7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.228 H 285.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D36D7
RGBrgb(93, 54, 215)
HSLhsl(255, 67%, 53%)
HSVhsv(255, 75%, 84%)
CMYKcmyk(56.7%, 74.9%, 0%, 15.7%)
CIE-LABlab(37.61, 56.56, -76.17)
CIE-LCHlch(37.61, 94.87, 306.60°)
OKLaboklab(48.74% 0.0604 -0.2194)
OKLCHoklch(48.74% 0.228 285.4)
XYZxyz(18.0954, 9.8707, 65.2285)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36D7 #B0D736
analogous
#3660D7 #5D36D7 #AD36D7
triadic
#5D36D7 #D75D36 #36D75D
tetradic
#5D36D7 #D73660 #B0D736 #36D7AD
square
#5D36D7 #D73660 #B0D736 #36D7AD
split-complementary
#5D36D7 #D7AD36 #60D736
monochromatic
#30187A #4422AD #5D36D7 #8669E1 #AF9CEB

Accessibility & contrast

On white

7.06
#5D36D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D36D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36D7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36D7#FFFFFF#000000##FFFFFF
##5D36D71.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#1E6384
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d36d7;
/* rgb */ color: rgb(93, 54, 215);
/* oklch */ color: oklch(48.7% 0.228 285.4);
Tailwind
colors: {
  custom: {
    50: '#9872e5',
    500: '#5d36d7',
    950: '#000000',
  },
}
SCSS
$custom: #5d36d7;
$custom-light: #9872e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36d7",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 254.534,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.22752,
    "h": 285.4
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#5D36D7
secondary
#C6D792
accent
#EA3EC0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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