#5C3D95#5C3D95

#5C3D95 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.139 H 296.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5C3D95
RGBrgb(92, 61, 149)
HSLhsl(261, 42%, 41%)
HSVhsv(261, 59%, 58%)
CMYKcmyk(38.3%, 59.1%, 0%, 41.6%)
CIE-LABlab(33.53, 33.87, -43.77)
CIE-LCHlch(33.53, 55.34, 307.73°)
OKLaboklab(44.12% 0.062 -0.1243)
OKLCHoklch(44.12% 0.139 296.5)
XYZxyz(11.5058, 7.7825, 29.3239)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3D95 #76953D
analogous
#3D4A95 #5C3D95 #883D95
triadic
#5C3D95 #955C3D #3D955C
tetradic
#5C3D95 #953D4A #76953D #3D9588
square
#5C3D95 #953D4A #76953D #3D9588
split-complementary
#5C3D95 #95883D #4A953D
monochromatic
#26193E #412B6A #5C3D95 #7956BA #9B81CB

Accessibility & contrast

On white

8.21
#5C3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C3D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3D95
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3D95#FFFFFF#000000##FFFFFF
##5C3D951.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#4E5063
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c3d95;
/* rgb */ color: rgb(92, 61, 149);
/* oklch */ color: oklch(44.1% 0.139 296.5);
Tailwind
colors: {
  custom: {
    50: '#8e74b5',
    500: '#5c3d95',
    950: '#000000',
  },
}
SCSS
$custom: #5c3d95;
$custom-light: #8e74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3d95",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 261.136,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44124,
    "c": 0.13891,
    "h": 296.5
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#5C3D95
secondary
#A0B578
accent
#D256A6
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #5C3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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