#5C2AAF#5C2AAF

#5C2AAF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 293.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5C2AAF
RGBrgb(92, 42, 175)
HSLhsl(263, 61%, 43%)
HSVhsv(263, 76%, 69%)
CMYKcmyk(47.4%, 76%, 0%, 31.4%)
CIE-LABlab(31.87, 51.15, -62.16)
CIE-LCHlch(31.87, 80.49, 309.45°)
OKLaboklab(43.57% 0.0785 -0.1783)
OKLCHoklch(43.57% 0.195 293.8)
XYZxyz(12.9773, 7.0260, 41.2215)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2AAF #7DAF2A
analogous
#2A3BAF #5C2AAF #9E2AAF
triadic
#5C2AAF #AF5C2A #2AAF5C
tetradic
#5C2AAF #AF2A3B #7DAF2A #2AAF9E
square
#5C2AAF #AF2A3B #7DAF2A #2AAF9E
split-complementary
#5C2AAF #AF9E2A #3BAF2A
monochromatic
#28124C #421E7E #5C2AAF #7944D2 #9D75DE

Accessibility & contrast

On white

8.73
#5C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2AAF
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2AAF#FFFFFF#000000##FFFFFF
##5C2AAF1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#434E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c2aaf;
/* rgb */ color: rgb(92, 42, 175);
/* oklch */ color: oklch(43.6% 0.195 293.8);
Tailwind
colors: {
  custom: {
    50: '#9269c8',
    500: '#5c2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #5c2aaf;
$custom-light: #9269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2aaf",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 262.556,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.19479,
    "h": 293.8
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#5C2AAF
secondary
#A5C66F
accent
#E443A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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