#5F36D0#5F36D0

#5F36D0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.219 H 287.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5F36D0
RGBrgb(95, 54, 208)
HSLhsl(256, 62%, 51%)
HSVhsv(256, 74%, 82%)
CMYKcmyk(54.3%, 74%, 0%, 18.4%)
CIE-LABlab(37.16, 54.88, -72.86)
CIE-LCHlch(37.16, 91.22, 306.99°)
OKLaboklab(48.27% 0.065 -0.2096)
OKLCHoklch(48.27% 0.219 287.2)
XYZxyz(17.4203, 9.6244, 60.6021)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36D0 #A7D036
analogous
#365AD0 #5F36D0 #AC36D0
triadic
#5F36D0 #D05F36 #36D05F
tetradic
#5F36D0 #D0365A #A7D036 #36D0AC
square
#5F36D0 #D0365A #A7D036 #36D0AC
split-complementary
#5F36D0 #D0AC36 #5AD036
monochromatic
#321A71 #4726A3 #5F36D0 #8668DC #AE99E7

Accessibility & contrast

On white

7.18
#5F36D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F36D0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36D0#FFFFFF#000000##FFFFFF
##5F36D01.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#2F6181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f36d0;
/* rgb */ color: rgb(95, 54, 208);
/* oklch */ color: oklch(48.3% 0.219 287.2);
Tailwind
colors: {
  custom: {
    50: '#9871e0',
    500: '#5f36d0',
    950: '#000000',
  },
}
SCSS
$custom: #5f36d0;
$custom-light: #9871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36d0",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 255.974,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.21947,
    "h": 287.2
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#5F36D0
secondary
#C1D38F
accent
#E543BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5F36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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