#5C2AAC#5C2AAC

#5C2AAC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.191 H 294.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5C2AAC
RGBrgb(92, 42, 172)
HSLhsl(263, 61%, 42%)
HSVhsv(263, 76%, 67%)
CMYKcmyk(46.5%, 75.6%, 0%, 32.5%)
CIE-LABlab(31.60, 50.35, -60.80)
CIE-LCHlch(31.60, 78.94, 309.63°)
OKLaboklab(43.3% 0.0793 -0.1743)
OKLCHoklch(43.3% 0.191 294.5)
XYZxyz(12.6860, 6.9094, 39.6870)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AAC #7AAC2A
analogous
#2A39AC #5C2AAC #9D2AAC
triadic
#5C2AAC #AC5C2A #2AAC5C
tetradic
#5C2AAC #AC2A39 #7AAC2A #2AAC9D
square
#5C2AAC #AC2A39 #7AAC2A #2AAC9D
split-complementary
#5C2AAC #AC9D2A #39AC2A
monochromatic
#27124A #421E7B #5C2AAC #7942D1 #9C73DD

Accessibility & contrast

On white

8.82
#5C2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5C2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AAC
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AAC#FFFFFF#000000##FFFFFF
##5C2AAC1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#454D69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c2aac;
/* rgb */ color: rgb(92, 42, 172);
/* oklch */ color: oklch(43.3% 0.191 294.5);
Tailwind
colors: {
  custom: {
    50: '#9269c6',
    500: '#5c2aac',
    950: '#000000',
  },
}
SCSS
$custom: #5c2aac;
$custom-light: #9269c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2aac",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 263.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.433,
    "c": 0.19146,
    "h": 294.5
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#5C2AAC
secondary
#A3C46D
accent
#E444A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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