#5C1992#5C1992

#5C1992 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.181 H 303.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#5C1992
RGBrgb(92, 25, 146)
HSLhsl(273, 71%, 34%)
HSVhsv(273, 83%, 57%)
CMYKcmyk(37%, 82.9%, 0%, 42.7%)
CIE-LABlab(26.87, 50.87, -52.73)
CIE-LCHlch(26.87, 73.27, 313.97°)
OKLaboklab(39.29% 0.1006 -0.1505)
OKLCHoklch(39.29% 0.181 303.8)
XYZxyz(9.9484, 5.0459, 27.6384)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1992 #4F9219
analogous
#1F1992 #5C1992 #92198B
triadic
#5C1992 #925C19 #19925C
tetradic
#5C1992 #921F19 #4F9219 #198B92
square
#5C1992 #921F19 #4F9219 #198B92
split-complementary
#5C1992 #8B9219 #19921F
monochromatic
#1A0729 #3B105E #5C1992 #7D22C6 #9B46DF

Accessibility & contrast

On white

10.45
#5C1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5C1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1992
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1992#FFFFFF#000000##FFFFFF
##5C19921.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#513B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c1992;
/* rgb */ color: rgb(92, 25, 146);
/* oklch */ color: oklch(39.3% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#905fb3',
    500: '#5c1992',
    950: '#000000',
  },
}
SCSS
$custom: #5c1992;
$custom-light: #905fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1992",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 273.223,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39286,
    "c": 0.18098,
    "h": 303.8
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#5C1992
secondary
#7DC146
accent
#EE3A8A
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1992

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

Preview Lab → · Contrast checker → · Palette generator →

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