#5C2FAA#5C2FAA

#5C2FAA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.184 H 294.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5C2FAA
RGBrgb(92, 47, 170)
HSLhsl(262, 57%, 43%)
HSVhsv(262, 72%, 67%)
CMYKcmyk(45.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(32.28, 47.40, -58.48)
CIE-LCHlch(32.28, 75.28, 309.03°)
OKLaboklab(43.73% 0.0753 -0.1675)
OKLCHoklch(43.73% 0.184 294.2)
XYZxyz(12.6839, 7.2103, 38.7458)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FAA #7DAA2F
analogous
#2F40AA #5C2FAA #992FAA
triadic
#5C2FAA #AA5C2F #2FAA5C
tetradic
#5C2FAA #AA2F40 #7DAA2F #2FAA99
square
#5C2FAA #AA2F40 #7DAA2F #2FAA99
split-complementary
#5C2FAA #AA992F #40AA2F
monochromatic
#28144A #42227A #5C2FAA #7949CD #9D79DA

Accessibility & contrast

On white

8.60
#5C2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5C2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FAA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FAA#FFFFFF#000000##FFFFFF
##5C2FAA1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#454F69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2faa;
/* rgb */ color: rgb(92, 47, 170);
/* oklch */ color: oklch(43.7% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#916cc4',
    500: '#5c2faa',
    950: '#000000',
  },
}
SCSS
$custom: #5c2faa;
$custom-light: #916cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2faa",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 261.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.18366,
    "h": 294.2
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#5C2FAA
secondary
#A5C272
accent
#E048A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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