#5C2CB5#5C2CB5

#5C2CB5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.199 H 292.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5C2CB5
RGBrgb(92, 44, 181)
HSLhsl(261, 61%, 44%)
HSVhsv(261, 76%, 71%)
CMYKcmyk(49.2%, 75.7%, 0%, 29%)
CIE-LABlab(32.73, 51.82, -64.32)
CIE-LCHlch(32.73, 82.60, 308.86°)
OKLaboklab(44.34% 0.0753 -0.1846)
OKLCHoklch(44.34% 0.199 292.2)
XYZxyz(13.6525, 7.4124, 44.4185)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CB5 #85B52C
analogous
#2C41B5 #5C2CB5 #A12CB5
triadic
#5C2CB5 #B55C2C #2CB55C
tetradic
#5C2CB5 #B52C41 #85B52C #2CB5A1
square
#5C2CB5 #B52C41 #85B52C #2CB5A1
split-complementary
#5C2CB5 #B5A12C #41B52C
monochromatic
#2A1453 #432084 #5C2CB5 #7B4BD3 #9F7CDF

Accessibility & contrast

On white

8.46
#5C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5C2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CB5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CB5#FFFFFF#000000##FFFFFF
##5C2CB51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#3F516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2cb5;
/* rgb */ color: rgb(92, 44, 181);
/* oklch */ color: oklch(44.3% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#936acc',
    500: '#5c2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cb5;
$custom-light: #936acc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cb5",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 261.022,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.19937,
    "h": 292.2
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#5C2CB5
secondary
#ABC875
accent
#E444AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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