#5E4BBD#5E4BBD

#5E4BBD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.172 H 286.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5E4BBD
RGBrgb(94, 75, 189)
HSLhsl(250, 46%, 52%)
HSVhsv(250, 60%, 74%)
CMYKcmyk(50.3%, 60.3%, 0%, 25.9%)
CIE-LABlab(39.72, 37.69, -57.62)
CIE-LCHlch(39.72, 68.85, 303.19°)
OKLaboklab(49.61% 0.0472 -0.1649)
OKLCHoklch(49.61% 0.172 286)
XYZxyz(16.3148, 11.0852, 49.4142)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BBD #AABD4B
analogous
#4B71BD #5E4BBD #974BBD
triadic
#5E4BBD #BD5E4B #4BBD5E
tetradic
#5E4BBD #BD4B71 #AABD4B #4BBD97
square
#5E4BBD #BD4B71 #AABD4B #4BBD97
split-complementary
#5E4BBD #BD974B #71BD4B
monochromatic
#312668 #463694 #5E4BBD #8678CD #AEA5DE

Accessibility & contrast

On white

6.53
#5E4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5E4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BBD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BBD#FFFFFF#000000##FFFFFF
##5E4BBD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#3B667D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4bbd;
/* rgb */ color: rgb(94, 75, 189);
/* oklch */ color: oklch(49.6% 0.172 286.0);
Tailwind
colors: {
  custom: {
    50: '#937ed2',
    500: '#5e4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bbd;
$custom-light: #937ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bbd",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 250,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.17155,
    "h": 286
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#5E4BBD
secondary
#C3CB99
accent
#D652C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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