#5C2D86#5C2D86

#5C2D86 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.144 H 305.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5C2D86
RGBrgb(92, 45, 134)
HSLhsl(272, 50%, 35%)
HSVhsv(272, 66%, 53%)
CMYKcmyk(31.3%, 66.4%, 0%, 47.5%)
CIE-LABlab(29.09, 38.93, -41.67)
CIE-LCHlch(29.09, 57.03, 313.06°)
OKLaboklab(40.56% 0.0829 -0.1181)
OKLCHoklch(40.56% 0.144 305.1)
XYZxyz(9.6541, 5.8734, 23.1747)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2D86 #57862D
analogous
#2F2D86 #5C2D86 #862D84
triadic
#5C2D86 #865C2D #2D865C
tetradic
#5C2D86 #862F2D #57862D #2D8486
square
#5C2D86 #862F2D #57862D #2D8486
split-complementary
#5C2D86 #84862D #2D862F
monochromatic
#1D0E2A #3D1E58 #5C2D86 #7B3CB4 #9A63CB

Accessibility & contrast

On white

9.66
#5C2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5C2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2D86
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2D86#FFFFFF#000000##FFFFFF
##5C2D861.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#544055
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c2d86;
/* rgb */ color: rgb(92, 45, 134);
/* oklch */ color: oklch(40.6% 0.144 305.1);
Tailwind
colors: {
  custom: {
    50: '#8e69aa',
    500: '#5c2d86',
    950: '#000000',
  },
}
SCSS
$custom: #5c2d86;
$custom-light: #8e69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2d86",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 271.685,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.14431,
    "h": 305.1
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#5C2D86
secondary
#85B15E
accent
#D94F90
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #5C2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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