#5E388E#5E388E

#5E388E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.0% C 0.138 H 301.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5E388E
RGBrgb(94, 56, 142)
HSLhsl(267, 43%, 39%)
HSVhsv(267, 61%, 56%)
CMYKcmyk(33.8%, 60.6%, 0%, 44.3%)
CIE-LABlab(32.17, 35.38, -41.65)
CIE-LCHlch(32.17, 54.65, 310.34°)
OKLaboklab(43.03% 0.0714 -0.118)
OKLCHoklch(43.03% 0.138 301.2)
XYZxyz(10.9116, 7.1610, 26.3933)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E388E #688E38
analogous
#383D8E #5E388E #89388E
triadic
#5E388E #8E5E38 #388E5E
tetradic
#5E388E #8E383D #688E38 #388E89
square
#5E388E #8E383D #688E38 #388E89
split-complementary
#5E388E #8E8938 #3D8E38
monochromatic
#241536 #412762 #5E388E #7B4BB8 #9B77C9

Accessibility & contrast

On white

8.63
#5E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E388E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E388E#FFFFFF#000000##FFFFFF
##5E388E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#544A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e388e;
/* rgb */ color: rgb(94, 56, 142);
/* oklch */ color: oklch(43.0% 0.138 301.2);
Tailwind
colors: {
  custom: {
    50: '#8f70b0',
    500: '#5e388e',
    950: '#000000',
  },
}
SCSS
$custom: #5e388e;
$custom-light: #8f70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e388e",
  "rgb": {
    "r": 94,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 266.512,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.1379,
    "h": 301.2
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#5E388E
secondary
#95B26F
accent
#D3559B
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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