#5E4875#5E4875

#5E4875 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.4% C 0.076 H 306.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5E4875
RGBrgb(94, 72, 117)
HSLhsl(269, 24%, 37%)
HSVhsv(269, 38%, 46%)
CMYKcmyk(19.7%, 38.5%, 0%, 54.1%)
CIE-LABlab(34.60, 19.07, -22.31)
CIE-LCHlch(34.60, 29.35, 310.53°)
OKLaboklab(44.38% 0.0448 -0.0617)
OKLCHoklch(44.38% 0.076 306)
XYZxyz(10.1437, 8.2988, 17.8936)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4875 #5F7548
analogous
#484975 #5E4875 #754875
triadic
#5E4875 #755E48 #48755E
tetradic
#5E4875 #754849 #5F7548 #487575
square
#5E4875 #754849 #5F7548 #487575
split-complementary
#5E4875 #757548 #497548
monochromatic
#211929 #40314F #5E4875 #7C5F9B #9B84B3

Accessibility & contrast

On white

7.90
#5E4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4875
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4875#FFFFFF#000000##FFFFFF
##5E48751.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5177
Deuteranopia (green-blind)
#435274
Tritanopia (blue-blind)
#5B4F59
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e4875;
/* rgb */ color: rgb(94, 72, 117);
/* oklch */ color: oklch(44.4% 0.076 306.0);
Tailwind
colors: {
  custom: {
    50: '#8c7b9d',
    500: '#5e4875',
    950: '#000000',
  },
}
SCSS
$custom: #5e4875;
$custom-light: #8c7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4875",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 269.333,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.07629,
    "h": 306
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#5E4875
secondary
#8DA079
accent
#C06895
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C090E
muted
#7D7B7E

Preview Lab

Preview with #5E4875

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

Preview Lab → · Contrast checker → · Palette generator →

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