#5C3880#5C3880

#5C3880 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.8% C 0.119 H 304.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5C3880
RGBrgb(92, 56, 128)
HSLhsl(270, 39%, 36%)
HSVhsv(270, 56%, 50%)
CMYKcmyk(28.1%, 56.3%, 0%, 49.8%)
CIE-LABlab(31.03, 31.15, -34.83)
CIE-LCHlch(31.03, 46.72, 311.81°)
OKLaboklab(41.85% 0.0683 -0.098)
OKLCHoklch(41.85% 0.12 304.9)
XYZxyz(9.7232, 6.6622, 21.1916)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3880 #5C8038
analogous
#383880 #5C3880 #803880
triadic
#5C3880 #805C38 #38805C
tetradic
#5C3880 #803838 #5C8038 #388080
square
#5C3880 #803838 #5C8038 #388080
split-complementary
#5C3880 #808038 #388038
monochromatic
#1F132B #3D2555 #5C3880 #7B4BAB #9971C1

Accessibility & contrast

On white

9.00
#5C3880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C3880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3880
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3880#FFFFFF#000000##FFFFFF
##5C38801.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4882
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#564556
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c3880;
/* rgb */ color: rgb(92, 56, 128);
/* oklch */ color: oklch(41.8% 0.119 304.9);
Tailwind
colors: {
  custom: {
    50: '#8c70a5',
    500: '#5c3880',
    950: '#000000',
  },
}
SCSS
$custom: #5c3880;
$custom-light: #8c70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3880",
  "rgb": {
    "r": 92,
    "g": 56,
    "b": 128
  },
  "hsl": {
    "h": 270,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.1195,
    "h": 304.9
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#5C3880
secondary
#8AAA6A
accent
#CF5994
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5C3880

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

Preview Lab → · Contrast checker → · Palette generator →

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