#5E4ABC#5E4ABC

#5E4ABC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.172 H 286.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5E4ABC
RGBrgb(94, 74, 188)
HSLhsl(251, 46%, 51%)
HSVhsv(251, 61%, 74%)
CMYKcmyk(50%, 60.6%, 0%, 26.3%)
CIE-LABlab(39.42, 37.98, -57.52)
CIE-LCHlch(39.42, 68.93, 303.44°)
OKLaboklab(49.37% 0.0483 -0.1646)
OKLCHoklch(49.37% 0.172 286.3)
XYZxyz(16.1393, 10.9073, 48.8221)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ABC #A8BC4A
analogous
#4A6FBC #5E4ABC #974ABC
triadic
#5E4ABC #BC5E4A #4ABC5E
tetradic
#5E4ABC #BC4A6F #A8BC4A #4ABC97
square
#5E4ABC #BC4A6F #A8BC4A #4ABC97
split-complementary
#5E4ABC #BC974A #6FBC4A
monochromatic
#312666 #463693 #5E4ABC #8677CD #ADA3DD

Accessibility & contrast

On white

6.60
#5E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ABC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ABC#FFFFFF#000000##FFFFFF
##5E4ABC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#3C657C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4abc;
/* rgb */ color: rgb(94, 74, 188);
/* oklch */ color: oklch(49.4% 0.172 286.3);
Tailwind
colors: {
  custom: {
    50: '#937dd1',
    500: '#5e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4abc;
$custom-light: #937dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4abc",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 250.526,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.17158,
    "h": 286.3
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#5E4ABC
secondary
#C1CA98
accent
#D652BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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