#5C2CA5#5C2CA5

#5C2CA5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.181 H 295.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5C2CA5
RGBrgb(92, 44, 165)
HSLhsl(264, 58%, 41%)
HSVhsv(264, 73%, 65%)
CMYKcmyk(44.2%, 73.3%, 0%, 35.3%)
CIE-LABlab(31.33, 47.54, -57.03)
CIE-LCHlch(31.33, 74.25, 309.82°)
OKLaboklab(42.92% 0.0792 -0.1632)
OKLCHoklch(42.92% 0.181 295.9)
XYZxyz(12.1040, 6.7930, 36.2635)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CA5 #75A52C
analogous
#2C38A5 #5C2CA5 #982CA5
triadic
#5C2CA5 #A55C2C #2CA55C
tetradic
#5C2CA5 #A52C38 #75A52C #2CA598
square
#5C2CA5 #A52C38 #75A52C #2CA598
split-complementary
#5C2CA5 #A5982C #38A52C
monochromatic
#261244 #411F75 #5C2CA5 #7942CD #9B72D9

Accessibility & contrast

On white

8.90
#5C2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5C2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CA5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CA5#FFFFFF#000000##FFFFFF
##5C2CA51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#484B66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c2ca5;
/* rgb */ color: rgb(92, 44, 165);
/* oklch */ color: oklch(42.9% 0.181 295.9);
Tailwind
colors: {
  custom: {
    50: '#916ac1',
    500: '#5c2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ca5;
$custom-light: #916ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ca5",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 263.802,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.18142,
    "h": 295.9
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#5C2CA5
secondary
#9FC16C
accent
#E147A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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