#5C2899#5C2899

#5C2899 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.173 H 299.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5C2899
RGBrgb(92, 40, 153)
HSLhsl(268, 59%, 38%)
HSVhsv(268, 74%, 60%)
CMYKcmyk(39.9%, 73.9%, 0%, 40%)
CIE-LABlab(29.65, 46.33, -52.49)
CIE-LCHlch(29.65, 70.01, 311.43°)
OKLaboklab(41.42% 0.0856 -0.1499)
OKLCHoklch(41.42% 0.173 299.7)
XYZxyz(10.9208, 6.0927, 30.7315)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2899 #659928
analogous
#282C99 #5C2899 #942899
triadic
#5C2899 #995C28 #28995C
tetradic
#5C2899 #99282C #659928 #289994
square
#5C2899 #99282C #659928 #289994
split-complementary
#5C2899 #999428 #2C9928
monochromatic
#220F38 #3F1B68 #5C2899 #7935CA #9965D7

Accessibility & contrast

On white

9.47
#5C2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2899
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2899#FFFFFF#000000##FFFFFF
##5C28991.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#4E445E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c2899;
/* rgb */ color: rgb(92, 40, 153);
/* oklch */ color: oklch(41.4% 0.173 299.7);
Tailwind
colors: {
  custom: {
    50: '#9067b8',
    500: '#5c2899',
    950: '#000000',
  },
}
SCSS
$custom: #5c2899;
$custom-light: #9067b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2899",
  "rgb": {
    "r": 92,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 267.611,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.17262,
    "h": 299.7
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#5C2899
secondary
#92BD60
accent
#E2469A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2899

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

Preview Lab → · Contrast checker → · Palette generator →

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