#5C2FA9#5C2FA9

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

Color values

HEX#5C2FA9
RGBrgb(92, 47, 169)
HSLhsl(262, 56%, 42%)
HSVhsv(262, 72%, 66%)
CMYKcmyk(45.6%, 72.2%, 0%, 33.7%)
CIE-LABlab(32.20, 47.13, -58.02)
CIE-LCHlch(32.20, 74.75, 309.09°)
OKLaboklab(43.64% 0.0755 -0.1662)
OKLCHoklch(43.64% 0.183 294.4)
XYZxyz(12.5896, 7.1726, 38.2495)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2FA9 #7CA92F
analogous
#2F3FA9 #5C2FA9 #992FA9
triadic
#5C2FA9 #A95C2F #2FA95C
tetradic
#5C2FA9 #A92F3F #7CA92F #2FA999
square
#5C2FA9 #A92F3F #7CA92F #2FA999
split-complementary
#5C2FA9 #A9992F #3FA92F
monochromatic
#281449 #422279 #5C2FA9 #7949CC #9C79DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C2FA9#FFFFFF#000000##FFFFFF
##5C2FA91.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)
#004DAD
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#464E69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c2fa9;
/* rgb */ color: rgb(92, 47, 169);
/* oklch */ color: oklch(43.6% 0.182 294.4);
Tailwind
colors: {
  custom: {
    50: '#916cc4',
    500: '#5c2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #5c2fa9;
$custom-light: #916cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2fa9",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 262.131,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.1825,
    "h": 294.4
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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