#5C2FAE#5C2FAE

#5C2FAE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.188 H 293.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5C2FAE
RGBrgb(92, 47, 174)
HSLhsl(261, 57%, 43%)
HSVhsv(261, 73%, 68%)
CMYKcmyk(47.1%, 73%, 0%, 31.8%)
CIE-LABlab(32.62, 48.49, -60.32)
CIE-LCHlch(32.62, 77.39, 308.79°)
OKLaboklab(44.07% 0.0744 -0.1729)
OKLCHoklch(44.07% 0.188 293.3)
XYZxyz(13.0680, 7.3639, 40.7690)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FAE #81AE2F
analogous
#2F41AE #5C2FAE #9B2FAE
triadic
#5C2FAE #AE5C2F #2FAE5C
tetradic
#5C2FAE #AE2F41 #81AE2F #2FAE9B
square
#5C2FAE #AE2F41 #81AE2F #2FAE9B
split-complementary
#5C2FAE #AE9B2F #41AE2F
monochromatic
#29154E #43227E #5C2FAE #7A4CCF #9E7CDC

Accessibility & contrast

On white

8.49
#5C2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2FAE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2FAE#FFFFFF#000000##FFFFFF
##5C2FAE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#43506C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2fae;
/* rgb */ color: rgb(92, 47, 174);
/* oklch */ color: oklch(44.1% 0.188 293.3);
Tailwind
colors: {
  custom: {
    50: '#926cc7',
    500: '#5c2fae',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fae;
$custom-light: #926cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fae",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 261.26,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.18825,
    "h": 293.3
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#5C2FAE
secondary
#A8C475
accent
#E147AA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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