#5C3D90#5C3D90

#5C3D90 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.132 H 297.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5C3D90
RGBrgb(92, 61, 144)
HSLhsl(262, 40%, 40%)
HSVhsv(262, 58%, 56%)
CMYKcmyk(36.1%, 57.6%, 0%, 43.5%)
CIE-LABlab(33.19, 32.47, -41.25)
CIE-LCHlch(33.19, 52.50, 308.21°)
OKLaboklab(43.77% 0.062 -0.1169)
OKLCHoklch(43.77% 0.132 297.9)
XYZxyz(11.1152, 7.6263, 27.2666)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3D90 #71903D
analogous
#3D4790 #5C3D90 #863D90
triadic
#5C3D90 #905C3D #3D905C
tetradic
#5C3D90 #903D47 #71903D #3D9086
square
#5C3D90 #903D47 #71903D #3D9086
split-complementary
#5C3D90 #90863D #47903D
monochromatic
#25193A #412B65 #5C3D90 #7954B6 #9A7FC9

Accessibility & contrast

On white

8.32
#5C3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5C3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3D90
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3D90#FFFFFF#000000##FFFFFF
##5C3D901.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#504E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c3d90;
/* rgb */ color: rgb(92, 61, 144);
/* oklch */ color: oklch(43.8% 0.132 297.9);
Tailwind
colors: {
  custom: {
    50: '#8d74b1',
    500: '#5c3d90',
    950: '#000000',
  },
}
SCSS
$custom: #5c3d90;
$custom-light: #8d74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3d90",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 262.41,
    "s": 40.488,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.13232,
    "h": 297.9
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#5C3D90
secondary
#9CB376
accent
#D057A3
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #5C3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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