#5D36CF#5D36CF

#5D36CF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.218 H 286.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D36CF
RGBrgb(93, 54, 207)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(55.1%, 73.9%, 0%, 18.8%)
CIE-LABlab(36.87, 54.32, -72.76)
CIE-LCHlch(36.87, 90.80, 306.75°)
OKLaboklab(48% 0.0624 -0.2094)
OKLCHoklch(48% 0.218 286.6)
XYZxyz(17.0925, 9.4695, 59.9465)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36CF #A8CF36
analogous
#365BCF #5D36CF #A936CF
triadic
#5D36CF #CF5D36 #36CF5D
tetradic
#5D36CF #CF365B #A8CF36 #36CFA9
square
#5D36CF #CF365B #A8CF36 #36CFA9
split-complementary
#5D36CF #CFA936 #5BCF36
monochromatic
#301B70 #4627A1 #5D36CF #8567DB #AD99E7

Accessibility & contrast

On white

7.26
#5D36CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D36CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36CF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36CF#FFFFFF#000000##FFFFFF
##5D36CF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#2A6080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d36cf;
/* rgb */ color: rgb(93, 54, 207);
/* oklch */ color: oklch(48.0% 0.218 286.6);
Tailwind
colors: {
  custom: {
    50: '#9771df',
    500: '#5d36cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d36cf;
$custom-light: #9771df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36cf",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 255.294,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.21847,
    "h": 286.6
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#5D36CF
secondary
#C1D28F
accent
#E543BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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