#5C249E#5C249E

#5C249E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.183 H 298.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5C249E
RGBrgb(92, 36, 158)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 77%, 62%)
CMYKcmyk(41.8%, 77.2%, 0%, 38%)
CIE-LABlab(29.43, 49.43, -55.90)
CIE-LCHlch(29.43, 74.62, 311.49°)
OKLaboklab(41.4% 0.0882 -0.1598)
OKLCHoklch(41.4% 0.183 298.9)
XYZxyz(11.2145, 6.0055, 32.9095)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249E #669E24
analogous
#24299E #5C249E #99249E
triadic
#5C249E #9E5C24 #249E5C
tetradic
#5C249E #9E2429 #669E24 #249E99
square
#5C249E #9E2429 #669E24 #249E99
split-complementary
#5C249E #9E9924 #299E24
monochromatic
#220D3A #3F196C #5C249E #792FD0 #9961DB

Accessibility & contrast

On white

9.54
#5C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C249E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249E#FFFFFF#000000##FFFFFF
##5C249E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4C4460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c249e;
/* rgb */ color: rgb(92, 36, 158);
/* oklch */ color: oklch(41.4% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#9165bc',
    500: '#5c249e',
    950: '#000000',
  },
}
SCSS
$custom: #5c249e;
$custom-light: #9165bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249e",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 267.541,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.18254,
    "h": 298.9
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#5C249E
secondary
#93C05E
accent
#E6429B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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