#5E39AF#5E39AF

#5E39AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.177 H 292.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5E39AF
RGBrgb(94, 57, 175)
HSLhsl(259, 51%, 45%)
HSVhsv(259, 67%, 69%)
CMYKcmyk(46.3%, 67.4%, 0%, 31.4%)
CIE-LABlab(34.80, 43.91, -57.35)
CIE-LCHlch(34.80, 72.23, 307.44°)
OKLaboklab(45.71% 0.0674 -0.1641)
OKLCHoklch(45.71% 0.177 292.3)
XYZxyz(13.8149, 8.4006, 41.4427)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E39AF #8AAF39
analogous
#394FAF #5E39AF #9939AF
triadic
#5E39AF #AF5E39 #39AF5E
tetradic
#5E39AF #AF394F #8AAF39 #39AF99
square
#5E39AF #AF394F #8AAF39 #39AF99
split-complementary
#5E39AF #AF9939 #4FAF39
monochromatic
#2C1B53 #452A81 #5E39AF #7E5BCA #A28AD9

Accessibility & contrast

On white

7.84
#5E39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5E39AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E39AF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E39AF#FFFFFF#000000##FFFFFF
##5E39AF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#46566F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e39af;
/* rgb */ color: rgb(94, 57, 175);
/* oklch */ color: oklch(45.7% 0.177 292.3);
Tailwind
colors: {
  custom: {
    50: '#9372c8',
    500: '#5e39af',
    950: '#000000',
  },
}
SCSS
$custom: #5e39af;
$custom-light: #9372c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e39af",
  "rgb": {
    "r": 94,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 258.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.17746,
    "h": 292.3
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#5E39AF
secondary
#AEC381
accent
#DA4DAE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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