#5C3E95#5C3E95

#5C3E95 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.3% C 0.137 H 296.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5C3E95
RGBrgb(92, 62, 149)
HSLhsl(261, 41%, 41%)
HSVhsv(261, 58%, 58%)
CMYKcmyk(38.3%, 58.4%, 0%, 41.6%)
CIE-LABlab(33.75, 33.27, -43.40)
CIE-LCHlch(33.75, 54.69, 307.47°)
OKLaboklab(44.29% 0.0607 -0.1232)
OKLCHoklch(44.29% 0.137 296.2)
XYZxyz(11.5597, 7.8903, 29.3419)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3E95 #77953E
analogous
#3E4C95 #5C3E95 #883E95
triadic
#5C3E95 #955C3E #3E955C
tetradic
#5C3E95 #953E4C #77953E #3E9588
square
#5C3E95 #953E4C #77953E #3E9588
split-complementary
#5C3E95 #95883E #4C953E
monochromatic
#271A3F #412C6A #5C3E95 #7957B9 #9B82CB

Accessibility & contrast

On white

8.15
#5C3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5C3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3E95
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3E95#FFFFFF#000000##FFFFFF
##5C3E951.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#1D4E93
Tritanopia (blue-blind)
#4E5063
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c3e95;
/* rgb */ color: rgb(92, 62, 149);
/* oklch */ color: oklch(44.3% 0.137 296.2);
Tailwind
colors: {
  custom: {
    50: '#8e74b5',
    500: '#5c3e95',
    950: '#000000',
  },
}
SCSS
$custom: #5c3e95;
$custom-light: #8e74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3e95",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 260.69,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.13738,
    "h": 296.2
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#5C3E95
secondary
#A1B57A
accent
#D157A7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0811
muted
#7D7B80

Preview Lab

Preview with #5C3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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