#5E37AF#5E37AF

#5E37AF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.180 H 292.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5E37AF
RGBrgb(94, 55, 175)
HSLhsl(260, 52%, 45%)
HSVhsv(260, 69%, 69%)
CMYKcmyk(46.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(34.41, 44.99, -57.99)
CIE-LCHlch(34.41, 73.40, 307.80°)
OKLaboklab(45.42% 0.0695 -0.166)
OKLCHoklch(45.42% 0.18 292.7)
XYZxyz(13.7180, 8.2068, 41.4104)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37AF #88AF37
analogous
#374CAF #5E37AF #9A37AF
triadic
#5E37AF #AF5E37 #37AF5E
tetradic
#5E37AF #AF374C #88AF37 #37AF9A
square
#5E37AF #AF374C #88AF37 #37AF9A
split-complementary
#5E37AF #AF9A37 #4CAF37
monochromatic
#2C1A52 #452880 #5E37AF #7E59CB #A287D9

Accessibility & contrast

On white

7.95
#5E37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37AF#FFFFFF#000000##FFFFFF
##5E37AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#46556E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e37af;
/* rgb */ color: rgb(94, 55, 175);
/* oklch */ color: oklch(45.4% 0.180 292.7);
Tailwind
colors: {
  custom: {
    50: '#9371c8',
    500: '#5e37af',
    950: '#000000',
  },
}
SCSS
$custom: #5e37af;
$custom-light: #9371c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37af",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 259.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.17998,
    "h": 292.7
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#5E37AF
secondary
#ADC37F
accent
#DC4CAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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