#5C2EAD#5C2EAD

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

Color values

HEX#5C2EAD
RGBrgb(92, 46, 173)
HSLhsl(262, 58%, 43%)
HSVhsv(262, 73%, 68%)
CMYKcmyk(46.8%, 73.4%, 0%, 32.2%)
CIE-LABlab(32.36, 48.71, -60.15)
CIE-LCHlch(32.36, 77.40, 309.00°)
OKLaboklab(43.86% 0.0756 -0.1724)
OKLCHoklch(43.86% 0.188 293.7)
XYZxyz(12.9314, 7.2460, 40.2444)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EAD #7FAD2E
analogous
#2E40AD #5C2EAD #9B2EAD
triadic
#5C2EAD #AD5C2E #2EAD5C
tetradic
#5C2EAD #AD2E40 #7FAD2E #2EAD9B
square
#5C2EAD #AD2E40 #7FAD2E #2EAD9B
split-complementary
#5C2EAD #AD9B2E #40AD2E
monochromatic
#29144C #42217D #5C2EAD #7A49CF #9D7ADC

Accessibility & contrast

On white

8.57
#5C2EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5C2EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2EAD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2EAD#FFFFFF#000000##FFFFFF
##5C2EAD1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#444F6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2ead;
/* rgb */ color: rgb(92, 46, 173);
/* oklch */ color: oklch(43.9% 0.188 293.7);
Tailwind
colors: {
  custom: {
    50: '#926bc6',
    500: '#5c2ead',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ead;
$custom-light: #926bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ead",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 261.732,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.18823,
    "h": 293.7
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#5C2EAD
secondary
#A7C473
accent
#E147A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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