#5E4DAF#5E4DAF

#5E4DAF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.150 H 287.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E4DAF
RGBrgb(94, 77, 175)
HSLhsl(250, 39%, 49%)
HSVhsv(250, 56%, 69%)
CMYKcmyk(46.3%, 56%, 0%, 31.4%)
CIE-LABlab(39.21, 32.26, -50.21)
CIE-LCHlch(39.21, 59.68, 302.72°)
OKLaboklab(48.92% 0.0451 -0.1431)
OKLCHoklch(48.92% 0.15 287.5)
XYZxyz(15.0056, 10.7820, 41.8396)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DAF #9EAF4D
analogous
#4D6DAF #5E4DAF #8F4DAF
triadic
#5E4DAF #AF5E4D #4DAF5E
tetradic
#5E4DAF #AF4D6D #9EAF4D #4DAF8F
square
#5E4DAF #AF4D6D #9EAF4D #4DAF8F
split-complementary
#5E4DAF #AF8F4D #6DAF4D
monochromatic
#30285A #473A85 #5E4DAF #8476C3 #AAA1D6

Accessibility & contrast

On white

6.65
#5E4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DAF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DAF#FFFFFF#000000##FFFFFF
##5E4DAF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#446376
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e4daf;
/* rgb */ color: rgb(94, 77, 175);
/* oklch */ color: oklch(48.9% 0.150 287.5);
Tailwind
colors: {
  custom: {
    50: '#917fc7',
    500: '#5e4daf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4daf;
$custom-light: #917fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4daf",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 250.408,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.15007,
    "h": 287.5
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#5E4DAF
secondary
#BBC395
accent
#CF59BA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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