#5E4BAF#5E4BAF

#5E4BAF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.6% C 0.153 H 288.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E4BAF
RGBrgb(94, 75, 175)
HSLhsl(251, 40%, 49%)
HSVhsv(251, 57%, 69%)
CMYKcmyk(46.3%, 57.1%, 0%, 31.4%)
CIE-LABlab(38.74, 33.47, -50.98)
CIE-LCHlch(38.74, 60.98, 303.29°)
OKLaboklab(48.57% 0.0475 -0.1454)
OKLCHoklch(48.57% 0.153 288.1)
XYZxyz(14.8678, 10.5064, 41.7937)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BAF #9CAF4B
analogous
#4B6AAF #5E4BAF #904BAF
triadic
#5E4BAF #AF5E4B #4BAF5E
tetradic
#5E4BAF #AF4B6A #9CAF4B #4BAF90
square
#5E4BAF #AF4B6A #9CAF4B #4BAF90
split-complementary
#5E4BAF #AF904B #6AAF4B
monochromatic
#302659 #473984 #5E4BAF #8374C3 #A99FD6

Accessibility & contrast

On white

6.77
#5E4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BAF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BAF#FFFFFF#000000##FFFFFF
##5E4BAF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5DB2
Deuteranopia (green-blind)
#0D59AD
Tritanopia (blue-blind)
#446175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e4baf;
/* rgb */ color: rgb(94, 75, 175);
/* oklch */ color: oklch(48.6% 0.153 288.1);
Tailwind
colors: {
  custom: {
    50: '#917ec7',
    500: '#5e4baf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4baf;
$custom-light: #917ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4baf",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 251.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.15295,
    "h": 288.1
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#5E4BAF
secondary
#BAC293
accent
#D058B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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