#5C249A#5C249A

#5C249A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.178 H 300.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5C249A
RGBrgb(92, 36, 154)
HSLhsl(268, 62%, 37%)
HSVhsv(268, 77%, 60%)
CMYKcmyk(40.3%, 76.6%, 0%, 39.6%)
CIE-LABlab(29.08, 48.42, -54.02)
CIE-LCHlch(29.08, 72.55, 311.87°)
OKLaboklab(41.05% 0.0892 -0.1543)
OKLCHoklch(41.05% 0.178 300)
XYZxyz(10.8758, 5.8700, 31.1256)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249A #629A24
analogous
#24279A #5C249A #97249A
triadic
#5C249A #9A5C24 #249A5C
tetradic
#5C249A #9A2427 #629A24 #249A97
square
#5C249A #9A2427 #629A24 #249A97
split-complementary
#5C249A #9A9724 #279A24
monochromatic
#210D37 #3E1868 #5C249A #7A30CC #995FDA

Accessibility & contrast

On white

9.66
#5C249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C249A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249A#FFFFFF#000000##FFFFFF
##5C249A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4E435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c249a;
/* rgb */ color: rgb(92, 36, 154);
/* oklch */ color: oklch(41.0% 0.178 300.0);
Tailwind
colors: {
  custom: {
    50: '#9065b9',
    500: '#5c249a',
    950: '#000000',
  },
}
SCSS
$custom: #5c249a;
$custom-light: #9065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249a",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 268.475,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.17825,
    "h": 300
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#5C249A
secondary
#8FBF5B
accent
#E54398
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C249A

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

Preview Lab → · Contrast checker → · Palette generator →

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