#5E37AE#5E37AE

#5E37AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.179 H 292.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E37AE
RGBrgb(94, 55, 174)
HSLhsl(260, 52%, 45%)
HSVhsv(260, 68%, 68%)
CMYKcmyk(46%, 68.4%, 0%, 31.8%)
CIE-LABlab(34.33, 44.71, -57.53)
CIE-LCHlch(34.33, 72.86, 307.86°)
OKLaboklab(45.34% 0.0696 -0.1647)
OKLCHoklch(45.34% 0.179 292.9)
XYZxyz(13.6202, 8.1676, 40.8951)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37AE #87AE37
analogous
#374BAE #5E37AE #9A37AE
triadic
#5E37AE #AE5E37 #37AE5E
tetradic
#5E37AE #AE374B #87AE37 #37AE9A
square
#5E37AE #AE374B #87AE37 #37AE9A
split-complementary
#5E37AE #AE9A37 #4BAE37
monochromatic
#2C1A51 #45287F #5E37AE #7D58CA #A286D9

Accessibility & contrast

On white

7.97
#5E37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37AE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37AE#FFFFFF#000000##FFFFFF
##5E37AE1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#46546E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e37ae;
/* rgb */ color: rgb(94, 55, 174);
/* oklch */ color: oklch(45.3% 0.179 292.9);
Tailwind
colors: {
  custom: {
    50: '#9371c7',
    500: '#5e37ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e37ae;
$custom-light: #9371c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37ae",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 259.664,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.17878,
    "h": 292.9
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#5E37AE
secondary
#ACC37E
accent
#DB4CAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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