#5C2CA3#5C2CA3

#5C2CA3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.179 H 296.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#5C2CA3
RGBrgb(92, 44, 163)
HSLhsl(264, 57%, 41%)
HSVhsv(264, 73%, 64%)
CMYKcmyk(43.6%, 73%, 0%, 36.1%)
CIE-LABlab(31.16, 47.01, -56.10)
CIE-LCHlch(31.16, 73.19, 309.96°)
OKLaboklab(42.75% 0.0796 -0.1605)
OKLCHoklch(42.75% 0.179 296.4)
XYZxyz(11.9234, 6.7208, 35.3123)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CA3 #73A32C
analogous
#2C37A3 #5C2CA3 #972CA3
triadic
#5C2CA3 #A35C2C #2CA35C
tetradic
#5C2CA3 #A32C37 #73A32C #2CA397
square
#5C2CA3 #A32C37 #73A32C #2CA397
split-complementary
#5C2CA3 #A3972C #37A32C
monochromatic
#261243 #411F73 #5C2CA3 #7941CC #9B71D9

Accessibility & contrast

On white

8.96
#5C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5C2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CA3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CA3#FFFFFF#000000##FFFFFF
##5C2CA31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#494A65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c2ca3;
/* rgb */ color: rgb(92, 44, 163);
/* oklch */ color: oklch(42.8% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#916abf',
    500: '#5c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #5c2ca3;
$custom-light: #916abf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2ca3",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 264.202,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.17915,
    "h": 296.4
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#5C2CA3
secondary
#9EC06B
accent
#E147A3
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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