#5C2BAE#5C2BAE

#5C2BAE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.193 H 293.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5C2BAE
RGBrgb(92, 43, 174)
HSLhsl(262, 60%, 43%)
HSVhsv(262, 75%, 68%)
CMYKcmyk(47.1%, 75.3%, 0%, 31.8%)
CIE-LABlab(31.94, 50.42, -61.44)
CIE-LCHlch(31.94, 79.47, 309.37°)
OKLaboklab(43.59% 0.0779 -0.1762)
OKLCHoklch(43.59% 0.193 293.9)
XYZxyz(12.9154, 7.0587, 40.7182)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BAE #7DAE2B
analogous
#2B3BAE #5C2BAE #9E2BAE
triadic
#5C2BAE #AE5C2B #2BAE5C
tetradic
#5C2BAE #AE2B3B #7DAE2B #2BAE9E
square
#5C2BAE #AE2B3B #7DAE2B #2BAE9E
split-complementary
#5C2BAE #AE9E2B #3BAE2B
monochromatic
#28134C #421F7D #5C2BAE #7945D1 #9D76DD

Accessibility & contrast

On white

8.71
#5C2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BAE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BAE#FFFFFF#000000##FFFFFF
##5C2BAE1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#434E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c2bae;
/* rgb */ color: rgb(92, 43, 174);
/* oklch */ color: oklch(43.6% 0.193 293.9);
Tailwind
colors: {
  custom: {
    50: '#926ac7',
    500: '#5c2bae',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bae;
$custom-light: #926ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bae",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 262.443,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.19263,
    "h": 293.9
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#5C2BAE
secondary
#A5C570
accent
#E444A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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