#5E4ABB#5E4ABB

#5E4ABB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.170 H 286.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5E4ABB
RGBrgb(94, 74, 187)
HSLhsl(251, 45%, 51%)
HSVhsv(251, 60%, 73%)
CMYKcmyk(49.7%, 60.4%, 0%, 26.7%)
CIE-LABlab(39.35, 37.68, -57.05)
CIE-LCHlch(39.35, 68.37, 303.44°)
OKLaboklab(49.29% 0.0483 -0.1633)
OKLCHoklch(49.29% 0.17 286.5)
XYZxyz(16.0319, 10.8643, 48.2564)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ABB #A7BB4A
analogous
#4A6EBB #5E4ABB #964ABB
triadic
#5E4ABB #BB5E4A #4ABB5E
tetradic
#5E4ABB #BB4A6E #A7BB4A #4ABB96
square
#5E4ABB #BB4A6E #A7BB4A #4ABB96
split-complementary
#5E4ABB #BB964A #6EBB4A
monochromatic
#312665 #473791 #5E4ABB #8676CC #ADA3DC

Accessibility & contrast

On white

6.62
#5E4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5E4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ABB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ABB#FFFFFF#000000##FFFFFF
##5E4ABB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#3D647B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4abb;
/* rgb */ color: rgb(94, 74, 187);
/* oklch */ color: oklch(49.3% 0.170 286.5);
Tailwind
colors: {
  custom: {
    50: '#937dd0',
    500: '#5e4abb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4abb;
$custom-light: #937dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4abb",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 250.619,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.17027,
    "h": 286.5
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#5E4ABB
secondary
#C1C997
accent
#D553BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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