#5C2294#5C2294

#5C2294 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.174 H 302.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#5C2294
RGBrgb(92, 34, 148)
HSLhsl(271, 63%, 36%)
HSVhsv(271, 77%, 58%)
CMYKcmyk(37.8%, 77%, 0%, 42%)
CIE-LABlab(28.27, 47.80, -51.67)
CIE-LCHlch(28.27, 70.39, 312.77°)
OKLaboklab(40.32% 0.0925 -0.1474)
OKLCHoklch(40.32% 0.174 302.1)
XYZxyz(10.3297, 5.5574, 28.5397)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2294 #5A9422
analogous
#232294 #5C2294 #942293
triadic
#5C2294 #945C22 #22945C
tetradic
#5C2294 #942322 #5A9422 #229394
square
#5C2294 #942322 #5A9422 #229394
split-complementary
#5C2294 #939422 #229423
monochromatic
#1E0B30 #3D1762 #5C2294 #7B2DC6 #9958D9

Accessibility & contrast

On white

9.95
#5C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5C2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2294
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2294#FFFFFF#000000##FFFFFF
##5C22941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#503F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c2294;
/* rgb */ color: rgb(92, 34, 148);
/* oklch */ color: oklch(40.3% 0.174 302.1);
Tailwind
colors: {
  custom: {
    50: '#9064b4',
    500: '#5c2294',
    950: '#000000',
  },
}
SCSS
$custom: #5c2294;
$custom-light: #9064b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2294",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 270.526,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.17403,
    "h": 302.1
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#5C2294
secondary
#88BD55
accent
#E64292
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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