#5C2CB0#5C2CB0

#5C2CB0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.194 H 293.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5C2CB0
RGBrgb(92, 44, 176)
HSLhsl(262, 60%, 43%)
HSVhsv(262, 75%, 69%)
CMYKcmyk(47.7%, 75%, 0%, 31%)
CIE-LABlab(32.28, 50.48, -62.07)
CIE-LCHlch(32.28, 80.01, 309.12°)
OKLaboklab(43.89% 0.0766 -0.178)
OKLCHoklch(43.89% 0.194 293.3)
XYZxyz(13.1486, 7.2108, 41.7649)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CB0 #80B02C
analogous
#2C3EB0 #5C2CB0 #9E2CB0
triadic
#5C2CB0 #B05C2C #2CB05C
tetradic
#5C2CB0 #B02C3E #80B02C #2CB09E
square
#5C2CB0 #B02C3E #80B02C #2CB09E
split-complementary
#5C2CB0 #B09E2C #3EB02C
monochromatic
#29144E #42207F #5C2CB0 #7A48D1 #9D79DD

Accessibility & contrast

On white

8.60
#5C2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5C2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CB0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CB0#FFFFFF#000000##FFFFFF
##5C2CB01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#424F6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2cb0;
/* rgb */ color: rgb(92, 44, 176);
/* oklch */ color: oklch(43.9% 0.194 293.3);
Tailwind
colors: {
  custom: {
    50: '#926ac9',
    500: '#5c2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cb0;
$custom-light: #926ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cb0",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 261.818,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.1938,
    "h": 293.3
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#5C2CB0
secondary
#A7C672
accent
#E345AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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