#5E37D0#5E37D0

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

Color values

HEX#5E37D0
RGBrgb(94, 55, 208)
HSLhsl(255, 62%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(54.8%, 73.6%, 0%, 18.4%)
CIE-LABlab(37.23, 54.25, -72.74)
CIE-LCHlch(37.23, 90.74, 306.72°)
OKLaboklab(48.3% 0.0628 -0.2093)
OKLCHoklch(48.3% 0.219 286.7)
XYZxyz(17.3640, 9.6652, 60.6129)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37D0 #A9D037
analogous
#375DD0 #5E37D0 #AB37D0
triadic
#5E37D0 #D05E37 #37D05E
tetradic
#5E37D0 #D0375D #A9D037 #37D0AB
square
#5E37D0 #D0375D #A9D037 #37D0AB
split-complementary
#5E37D0 #D0AB37 #5DD037
monochromatic
#311B72 #4626A3 #5E37D0 #8669DC #AE9AE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E37D0#FFFFFF#000000##FFFFFF
##5E37D01.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)
#005BD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#2C6181
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e37d0;
/* rgb */ color: rgb(94, 55, 208);
/* oklch */ color: oklch(48.3% 0.219 286.7);
Tailwind
colors: {
  custom: {
    50: '#9772e0',
    500: '#5e37d0',
    950: '#000000',
  },
}
SCSS
$custom: #5e37d0;
$custom-light: #9772e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37d0",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 255.294,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.21852,
    "h": 286.7
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#5E37D0
secondary
#C2D390
accent
#E543BC
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E37D0

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

Preview Lab → · Contrast checker → · Palette generator →

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