#5E4E7D#5E4E7D

#5E4E7D is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.0% C 0.077 H 299.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5E4E7D
RGBrgb(94, 78, 125)
HSLhsl(260, 23%, 40%)
HSVhsv(260, 38%, 49%)
CMYKcmyk(24.8%, 37.6%, 0%, 51%)
CIE-LABlab(36.57, 17.36, -24.20)
CIE-LCHlch(36.57, 29.78, 305.66°)
OKLaboklab(46.01% 0.0373 -0.0672)
OKLCHoklch(46.01% 0.077 299)
XYZxyz(11.0413, 9.3091, 20.6132)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E7D #6D7D4E
analogous
#4E557D #5E4E7D #764E7D
triadic
#5E4E7D #7D5E4E #4E7D5E
tetradic
#5E4E7D #7D4E55 #6D7D4E #4E7D76
square
#5E4E7D #7D4E55 #6D7D4E #4E7D76
split-complementary
#5E4E7D #7D764E #557D4E
monochromatic
#251F32 #423657 #5E4E7D #7B68A1 #9C8DB8

Accessibility & contrast

On white

7.34
#5E4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5E4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E7D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E7D#FFFFFF#000000##FFFFFF
##5E4E7D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#58565F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e4e7d;
/* rgb */ color: rgb(94, 78, 125);
/* oklch */ color: oklch(46.0% 0.077 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c7fa3',
    500: '#5e4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e7d;
$custom-light: #8c7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e7d",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 260.426,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.07683,
    "h": 299
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#5E4E7D
secondary
#99A582
accent
#C068A2
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5E4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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