#5E37C7#5E37C7

#5E37C7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.208 H 288.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5E37C7
RGBrgb(94, 55, 199)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 72%, 78%)
CMYKcmyk(52.8%, 72.4%, 0%, 22%)
CIE-LABlab(36.43, 51.72, -68.83)
CIE-LCHlch(36.43, 86.10, 306.92°)
OKLaboklab(47.49% 0.0649 -0.1978)
OKLCHoklch(47.49% 0.208 288.2)
XYZxyz(16.2881, 9.2348, 54.9460)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37C7 #A0C737
analogous
#3758C7 #5E37C7 #A637C7
triadic
#5E37C7 #C75E37 #37C75E
tetradic
#5E37C7 #C73758 #A0C737 #37C7A6
square
#5E37C7 #C73758 #A0C737 #37C7A6
split-complementary
#5E37C7 #C7A637 #58C737
monochromatic
#311C67 #472A97 #5E37C7 #8466D5 #AB96E2

Accessibility & contrast

On white

7.38
#5E37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37C7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37C7#FFFFFF#000000##FFFFFF
##5E37C71.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#355E7C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e37c7;
/* rgb */ color: rgb(94, 55, 199);
/* oklch */ color: oklch(47.5% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#9672d9',
    500: '#5e37c7',
    950: '#000000',
  },
}
SCSS
$custom: #5e37c7;
$custom-light: #9672d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37c7",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 256.25,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.2082,
    "h": 288.2
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#5E37C7
secondary
#BCCD8C
accent
#E048B7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5E37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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