#5C219E#5C219E

#5C219E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.186 H 299.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5C219E
RGBrgb(92, 33, 158)
HSLhsl(268, 65%, 37%)
HSVhsv(268, 79%, 62%)
CMYKcmyk(41.8%, 79.1%, 0%, 38%)
CIE-LABlab(28.98, 50.71, -56.62)
CIE-LCHlch(28.98, 76.01, 311.84°)
OKLaboklab(41.09% 0.0907 -0.162)
OKLCHoklch(41.09% 0.186 299.2)
XYZxyz(11.1275, 5.8315, 32.8805)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C219E #639E21
analogous
#21259E #5C219E #9B219E
triadic
#5C219E #9E5C21 #219E5C
tetradic
#5C219E #9E2125 #639E21 #219E9B
square
#5C219E #9E2125 #639E21 #219E9B
split-complementary
#5C219E #9E9B21 #259E21
monochromatic
#210C39 #3F166B #5C219E #792CD1 #995CDD

Accessibility & contrast

On white

9.69
#5C219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5C219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C219E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C219E#FFFFFF#000000##FFFFFF
##5C219E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#4C435F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c219e;
/* rgb */ color: rgb(92, 33, 158);
/* oklch */ color: oklch(41.1% 0.186 299.2);
Tailwind
colors: {
  custom: {
    50: '#9164bc',
    500: '#5c219e',
    950: '#000000',
  },
}
SCSS
$custom: #5c219e;
$custom-light: #9164bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c219e",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 268.32,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.18562,
    "h": 299.2
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#5C219E
secondary
#90C159
accent
#E83F99
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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