#5C249B#5C249B

#5C249B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.179 H 299.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5C249B
RGBrgb(92, 36, 155)
HSLhsl(268, 62%, 37%)
HSVhsv(268, 77%, 61%)
CMYKcmyk(40.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(29.17, 48.67, -54.49)
CIE-LCHlch(29.17, 73.07, 311.77°)
OKLaboklab(41.14% 0.0889 -0.1557)
OKLCHoklch(41.14% 0.179 299.7)
XYZxyz(10.9594, 5.9035, 31.5661)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249B #639B24
analogous
#24289B #5C249B #97249B
triadic
#5C249B #9B5C24 #249B5C
tetradic
#5C249B #9B2428 #639B24 #249B97
square
#5C249B #9B2428 #639B24 #249B97
split-complementary
#5C249B #9B9724 #289B24
monochromatic
#210D38 #3F1869 #5C249B #7930CD #995FDA

Accessibility & contrast

On white

9.63
#5C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5C249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C249B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249B#FFFFFF#000000##FFFFFF
##5C249B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#4D435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c249b;
/* rgb */ color: rgb(92, 36, 155);
/* oklch */ color: oklch(41.1% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#9065b9',
    500: '#5c249b',
    950: '#000000',
  },
}
SCSS
$custom: #5c249b;
$custom-light: #9065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249b",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 268.235,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.17933,
    "h": 299.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#5C249B
secondary
#90BF5C
accent
#E54299
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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