#5C2EAC#5C2EAC

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

Color values

HEX#5C2EAC
RGBrgb(92, 46, 172)
HSLhsl(262, 58%, 43%)
HSVhsv(262, 73%, 67%)
CMYKcmyk(46.5%, 73.3%, 0%, 32.5%)
CIE-LABlab(32.27, 48.44, -59.69)
CIE-LCHlch(32.27, 76.87, 309.06°)
OKLaboklab(43.78% 0.0758 -0.1711)
OKLCHoklch(43.78% 0.187 293.9)
XYZxyz(12.8350, 7.2075, 39.7367)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2EAC #7EAC2E
analogous
#2E3FAC #5C2EAC #9B2EAC
triadic
#5C2EAC #AC5C2E #2EAC5C
tetradic
#5C2EAC #AC2E3F #7EAC2E #2EAC9B
square
#5C2EAC #AC2E3F #7EAC2E #2EAC9B
split-complementary
#5C2EAC #AC9B2E #3FAC2E
monochromatic
#28144B #42217C #5C2EAC #7A49CE #9D79DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C2EAC#FFFFFF#000000##FFFFFF
##5C2EAC1.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)
#004DB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#444F6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2eac;
/* rgb */ color: rgb(92, 46, 172);
/* oklch */ color: oklch(43.8% 0.187 293.9);
Tailwind
colors: {
  custom: {
    50: '#926bc6',
    500: '#5c2eac',
    950: '#000000',
  },
}
SCSS
$custom: #5c2eac;
$custom-light: #926bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2eac",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 261.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.18709,
    "h": 293.9
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#5C2EAC
secondary
#A6C372
accent
#E147A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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