#5C299C#5C299C

#5C299C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.175 H 298.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5C299C
RGBrgb(92, 41, 156)
HSLhsl(267, 58%, 39%)
HSVhsv(267, 74%, 61%)
CMYKcmyk(41%, 73.7%, 0%, 38.8%)
CIE-LABlab(30.06, 46.63, -53.64)
CIE-LCHlch(30.06, 71.08, 311.00°)
OKLaboklab(41.79% 0.084 -0.1533)
OKLCHoklch(41.79% 0.175 298.7)
XYZxyz(11.2058, 6.2613, 32.0642)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C299C #699C29
analogous
#292F9C #5C299C #95299C
triadic
#5C299C #9C5C29 #299C5C
tetradic
#5C299C #9C292F #699C29 #299C95
square
#5C299C #9C292F #699C29 #299C95
split-complementary
#5C299C #9C9529 #2F9C29
monochromatic
#23103B #3F1C6C #5C299C #7938CB #9968D7

Accessibility & contrast

On white

9.32
#5C299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5C299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C299C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C299C#FFFFFF#000000##FFFFFF
##5C299C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#4C4660
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5c299c;
/* rgb */ color: rgb(92, 41, 156);
/* oklch */ color: oklch(41.8% 0.175 298.7);
Tailwind
colors: {
  custom: {
    50: '#9068ba',
    500: '#5c299c',
    950: '#000000',
  },
}
SCSS
$custom: #5c299c;
$custom-light: #9068ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5c299c",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 266.609,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.17478,
    "h": 298.7
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#5C299C
secondary
#96BE63
accent
#E2469D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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