#5C2AB7#5C2AB7

#5C2AB7 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.204 H 292.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5C2AB7
RGBrgb(92, 42, 183)
HSLhsl(261, 63%, 44%)
HSVhsv(261, 77%, 72%)
CMYKcmyk(49.7%, 77%, 0%, 28.2%)
CIE-LABlab(32.59, 53.27, -65.73)
CIE-LCHlch(32.59, 84.61, 309.02°)
OKLaboklab(44.3% 0.0763 -0.1887)
OKLCHoklch(44.3% 0.204 292)
XYZxyz(13.7864, 7.3496, 45.4828)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AB7 #85B72A
analogous
#2A3EB7 #5C2AB7 #A32AB7
triadic
#5C2AB7 #B75C2A #2AB75C
tetradic
#5C2AB7 #B72A3E #85B72A #2AB7A3
square
#5C2AB7 #B72A3E #85B72A #2AB7A3
split-complementary
#5C2AB7 #B7A32A #3EB72A
monochromatic
#2A1353 #431F85 #5C2AB7 #7B49D5 #9F7BE1

Accessibility & contrast

On white

8.50
#5C2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AB7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AB7#FFFFFF#000000##FFFFFF
##5C2AB71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#3E516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2ab7;
/* rgb */ color: rgb(92, 42, 183);
/* oklch */ color: oklch(44.3% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#9369ce',
    500: '#5c2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ab7;
$custom-light: #9369ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ab7",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 261.277,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.20359,
    "h": 292
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#5C2AB7
secondary
#ABC974
accent
#E642AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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