#5C2CAF#5C2CAF

#5C2CAF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.193 H 293.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5C2CAF
RGBrgb(92, 44, 175)
HSLhsl(262, 60%, 43%)
HSVhsv(262, 75%, 69%)
CMYKcmyk(47.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(32.19, 50.21, -61.62)
CIE-LCHlch(32.19, 79.49, 309.18°)
OKLaboklab(43.8% 0.0768 -0.1767)
OKLCHoklch(43.8% 0.193 293.5)
XYZxyz(13.0500, 7.1714, 41.2458)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CAF #7FAF2C
analogous
#2C3DAF #5C2CAF #9D2CAF
triadic
#5C2CAF #AF5C2C #2CAF5C
tetradic
#5C2CAF #AF2C3D #7FAF2C #2CAF9D
square
#5C2CAF #AF2C3D #7FAF2C #2CAF9D
split-complementary
#5C2CAF #AF9D2C #3DAF2C
monochromatic
#29134D #42207E #5C2CAF #7A47D1 #9D78DD

Accessibility & contrast

On white

8.63
#5C2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5C2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CAF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CAF#FFFFFF#000000##FFFFFF
##5C2CAF1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#434F6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2caf;
/* rgb */ color: rgb(92, 44, 175);
/* oklch */ color: oklch(43.8% 0.193 293.5);
Tailwind
colors: {
  custom: {
    50: '#926ac8',
    500: '#5c2caf',
    950: '#000000',
  },
}
SCSS
$custom: #5c2caf;
$custom-light: #926ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2caf",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 261.985,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.19268,
    "h": 293.5
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#5C2CAF
secondary
#A7C572
accent
#E345A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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