#5C2193#5C2193

#5C2193 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.174 H 302.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#5C2193
RGBrgb(92, 33, 147)
HSLhsl(271, 63%, 35%)
HSVhsv(271, 78%, 58%)
CMYKcmyk(37.4%, 77.6%, 0%, 42.4%)
CIE-LABlab(28.03, 47.99, -51.44)
CIE-LCHlch(28.03, 70.35, 313.01°)
OKLaboklab(40.13% 0.0937 -0.1467)
OKLCHoklch(40.13% 0.174 302.5)
XYZxyz(10.2227, 5.4696, 28.1153)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2193 #589321
analogous
#232193 #5C2193 #932191
triadic
#5C2193 #935C21 #21935C
tetradic
#5C2193 #932321 #589321 #219193
square
#5C2193 #932321 #589321 #219193
split-complementary
#5C2193 #919321 #219323
monochromatic
#1D0B2F #3D1661 #5C2193 #7B2CC5 #9A55D9

Accessibility & contrast

On white

10.03
#5C2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5C2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2193
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2193#FFFFFF#000000##FFFFFF
##5C21931.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#503E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2193;
/* rgb */ color: rgb(92, 33, 147);
/* oklch */ color: oklch(40.1% 0.174 302.5);
Tailwind
colors: {
  custom: {
    50: '#9063b4',
    500: '#5c2193',
    950: '#000000',
  },
}
SCSS
$custom: #5c2193;
$custom-light: #9063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2193",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 271.053,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.17407,
    "h": 302.5
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#5C2193
secondary
#86BD53
accent
#E64191
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2193

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

Preview Lab → · Contrast checker → · Palette generator →

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