#5D37AE#5D37AE

#5D37AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.179 H 292.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5D37AE
RGBrgb(93, 55, 174)
HSLhsl(259, 52%, 45%)
HSVhsv(259, 68%, 68%)
CMYKcmyk(46.6%, 68.4%, 0%, 31.8%)
CIE-LABlab(34.22, 44.52, -57.71)
CIE-LCHlch(34.22, 72.89, 307.65°)
OKLaboklab(45.24% 0.0682 -0.1652)
OKLCHoklch(45.24% 0.179 292.4)
XYZxyz(13.5183, 8.1151, 40.8903)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37AE #88AE37
analogous
#374CAE #5D37AE #9937AE
triadic
#5D37AE #AE5D37 #37AE5D
tetradic
#5D37AE #AE374C #88AE37 #37AE99
square
#5D37AE #AE374C #88AE37 #37AE99
split-complementary
#5D37AE #AE9937 #4CAE37
monochromatic
#2B1A51 #44287F #5D37AE #7C58CA #A186D9

Accessibility & contrast

On white

8.01
#5D37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5D37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37AE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37AE#FFFFFF#000000##FFFFFF
##5D37AE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d37ae;
/* rgb */ color: rgb(93, 55, 174);
/* oklch */ color: oklch(45.2% 0.179 292.4);
Tailwind
colors: {
  custom: {
    50: '#9271c7',
    500: '#5d37ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d37ae;
$custom-light: #9271c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37ae",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 259.16,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.17875,
    "h": 292.4
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#5D37AE
secondary
#ADC37E
accent
#DB4CAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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