#5C2092#5C2092

#5C2092 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.174 H 303.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#5C2092
RGBrgb(92, 32, 146)
HSLhsl(272, 64%, 35%)
HSVhsv(272, 78%, 57%)
CMYKcmyk(37%, 78.1%, 0%, 42.7%)
CIE-LABlab(27.80, 48.16, -51.20)
CIE-LCHlch(27.80, 70.29, 313.25°)
OKLaboklab(39.94% 0.0948 -0.146)
OKLCHoklch(39.94% 0.174 303)
XYZxyz(10.1172, 5.3837, 27.6947)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2092 #569220
analogous
#232092 #5C2092 #92208F
triadic
#5C2092 #925C20 #20925C
tetradic
#5C2092 #922320 #569220 #208F92
square
#5C2092 #922320 #569220 #208F92
split-complementary
#5C2092 #8F9220 #209223
monochromatic
#1D0A2E #3C1560 #5C2092 #7C2BC4 #9A53D9

Accessibility & contrast

On white

10.11
#5C2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5C2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2092
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2092#FFFFFF#000000##FFFFFF
##5C20921.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#513E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2092;
/* rgb */ color: rgb(92, 32, 146);
/* oklch */ color: oklch(39.9% 0.174 303.0);
Tailwind
colors: {
  custom: {
    50: '#9063b3',
    500: '#5c2092',
    950: '#000000',
  },
}
SCSS
$custom: #5c2092;
$custom-light: #9063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2092",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 271.579,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39939,
    "c": 0.17409,
    "h": 303
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#5C2092
secondary
#84BD51
accent
#E74190
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5C2092

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

Preview Lab → · Contrast checker → · Palette generator →

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