#5C2492#5C2492

#5C2492 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 302.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#5C2492
RGBrgb(92, 36, 146)
HSLhsl(271, 60%, 36%)
HSVhsv(271, 75%, 57%)
CMYKcmyk(37%, 75.3%, 0%, 42.7%)
CIE-LABlab(28.41, 46.42, -50.20)
CIE-LCHlch(28.41, 68.37, 312.76°)
OKLaboklab(40.37% 0.0911 -0.1431)
OKLCHoklch(40.37% 0.17 302.5)
XYZxyz(10.2316, 5.6124, 27.7328)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2492 #5A9224
analogous
#252492 #5C2492 #922491
triadic
#5C2492 #925C24 #24925C
tetradic
#5C2492 #922524 #5A9224 #249192
square
#5C2492 #922524 #5A9224 #249192
split-complementary
#5C2492 #919224 #249225
monochromatic
#1E0C30 #3D1861 #5C2492 #7B30C3 #995AD6

Accessibility & contrast

On white

9.89
#5C2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5C2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2492
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2492#FFFFFF#000000##FFFFFF
##5C24921.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#513F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c2492;
/* rgb */ color: rgb(92, 36, 146);
/* oklch */ color: oklch(40.4% 0.170 302.5);
Tailwind
colors: {
  custom: {
    50: '#8f64b3',
    500: '#5c2492',
    950: '#000000',
  },
}
SCSS
$custom: #5c2492;
$custom-light: #8f64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2492",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 270.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.16963,
    "h": 302.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#5C2492
secondary
#88BB57
accent
#E44492
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2492

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

Preview Lab → · Contrast checker → · Palette generator →

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