#5E4BBB#5E4BBB

#5E4BBB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.5% C 0.169 H 286.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5E4BBB
RGBrgb(94, 75, 187)
HSLhsl(250, 45%, 51%)
HSVhsv(250, 60%, 73%)
CMYKcmyk(49.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(39.58, 37.08, -56.68)
CIE-LCHlch(39.58, 67.74, 303.19°)
OKLaboklab(49.46% 0.0472 -0.1622)
OKLCHoklch(49.46% 0.169 286.2)
XYZxyz(16.0992, 10.9989, 48.2788)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BBB #A8BB4B
analogous
#4B70BB #5E4BBB #964BBB
triadic
#5E4BBB #BB5E4B #4BBB5E
tetradic
#5E4BBB #BB4B70 #A8BB4B #4BBB96
square
#5E4BBB #BB4B70 #A8BB4B #4BBB96
split-complementary
#5E4BBB #BB964B #70BB4B
monochromatic
#312665 #463792 #5E4BBB #8677CC #ADA4DD

Accessibility & contrast

On white

6.56
#5E4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5E4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BBB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BBB#FFFFFF#000000##FFFFFF
##5E4BBB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#3D657C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4bbb;
/* rgb */ color: rgb(94, 75, 187);
/* oklch */ color: oklch(49.5% 0.169 286.2);
Tailwind
colors: {
  custom: {
    50: '#937ed0',
    500: '#5e4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bbb;
$custom-light: #937ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bbb",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 250.179,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.16892,
    "h": 286.2
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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