#5C249C#5C249C

#5C249C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.180 H 299.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5C249C
RGBrgb(92, 36, 156)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 61%)
CMYKcmyk(41%, 76.9%, 0%, 38.8%)
CIE-LABlab(29.25, 48.93, -54.96)
CIE-LCHlch(29.25, 73.58, 311.67°)
OKLaboklab(41.22% 0.0887 -0.1571)
OKLCHoklch(41.22% 0.18 299.4)
XYZxyz(11.0437, 5.9372, 32.0102)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249C #649C24
analogous
#24289C #5C249C #98249C
triadic
#5C249C #9C5C24 #249C5C
tetradic
#5C249C #9C2428 #649C24 #249C98
square
#5C249C #9C2428 #649C24 #249C98
split-complementary
#5C249C #9C9824 #289C24
monochromatic
#210D39 #3F196A #5C249C #792FCE #9960DA

Accessibility & contrast

On white

9.60
#5C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C249C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249C#FFFFFF#000000##FFFFFF
##5C249C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#4D445F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c249c;
/* rgb */ color: rgb(92, 36, 156);
/* oklch */ color: oklch(41.2% 0.180 299.4);
Tailwind
colors: {
  custom: {
    50: '#9065ba',
    500: '#5c249c',
    950: '#000000',
  },
}
SCSS
$custom: #5c249c;
$custom-light: #9065ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249c",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 268,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.1804,
    "h": 299.4
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#5C249C
secondary
#91BF5C
accent
#E64299
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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