#5C2299#5C2299

#5C2299 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.179 H 300.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#5C2299
RGBrgb(92, 34, 153)
HSLhsl(269, 64%, 37%)
HSVhsv(269, 78%, 60%)
CMYKcmyk(39.9%, 77.8%, 0%, 40%)
CIE-LABlab(28.69, 49.04, -54.05)
CIE-LCHlch(28.69, 72.98, 312.22°)
OKLaboklab(40.75% 0.0912 -0.1544)
OKLCHoklch(40.75% 0.179 300.6)
XYZxyz(10.7340, 5.7192, 30.6692)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2299 #5F9922
analogous
#222499 #5C2299 #982299
triadic
#5C2299 #995C22 #22995C
tetradic
#5C2299 #992224 #5F9922 #229998
square
#5C2299 #992224 #5F9922 #229998
split-complementary
#5C2299 #999822 #249922
monochromatic
#200C35 #3E1767 #5C2299 #7A2DCB #995BDB

Accessibility & contrast

On white

9.80
#5C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5C2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2299
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2299#FFFFFF#000000##FFFFFF
##5C22991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#4E415D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2299;
/* rgb */ color: rgb(92, 34, 153);
/* oklch */ color: oklch(40.7% 0.179 300.6);
Tailwind
colors: {
  custom: {
    50: '#9064b8',
    500: '#5c2299',
    950: '#000000',
  },
}
SCSS
$custom: #5c2299;
$custom-light: #9064b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2299",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 269.244,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.17933,
    "h": 300.6
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#5C2299
secondary
#8DBF58
accent
#E74196
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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