#5C2D83#5C2D83

#5C2D83 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.141 H 306.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5C2D83
RGBrgb(92, 45, 131)
HSLhsl(273, 49%, 35%)
HSVhsv(273, 66%, 51%)
CMYKcmyk(29.8%, 65.6%, 0%, 48.6%)
CIE-LABlab(28.88, 38.17, -40.14)
CIE-LCHlch(28.88, 55.39, 313.56°)
OKLaboklab(40.34% 0.0832 -0.1136)
OKLCHoklch(40.34% 0.141 306.2)
XYZxyz(9.4479, 5.7909, 22.0884)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2D83 #54832D
analogous
#312D83 #5C2D83 #832D7F
triadic
#5C2D83 #835C2D #2D835C
tetradic
#5C2D83 #83312D #54832D #2D7F83
square
#5C2D83 #83312D #54832D #2D7F83
split-complementary
#5C2D83 #7F832D #2D8331
monochromatic
#1C0E28 #3C1D55 #5C2D83 #7C3DB1 #9A62C9

Accessibility & contrast

On white

9.73
#5C2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5C2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2D83
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2D83#FFFFFF#000000##FFFFFF
##5C2D831.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#553F54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2d83;
/* rgb */ color: rgb(92, 45, 131);
/* oklch */ color: oklch(40.3% 0.141 306.2);
Tailwind
colors: {
  custom: {
    50: '#8d69a8',
    500: '#5c2d83',
    950: '#000000',
  },
}
SCSS
$custom: #5c2d83;
$custom-light: #8d69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2d83",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 272.791,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.14078,
    "h": 306.2
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#5C2D83
secondary
#82AF5C
accent
#D84F8E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5C2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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