#5C249F#5C249F

#5C249F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.184 H 298.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5C249F
RGBrgb(92, 36, 159)
HSLhsl(267, 63%, 38%)
HSVhsv(267, 77%, 62%)
CMYKcmyk(42.1%, 77.4%, 0%, 37.6%)
CIE-LABlab(29.51, 49.69, -56.36)
CIE-LCHlch(29.51, 75.14, 311.40°)
OKLaboklab(41.49% 0.0879 -0.1612)
OKLCHoklch(41.49% 0.184 298.6)
XYZxyz(11.3009, 6.0401, 33.3646)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C249F #679F24
analogous
#24299F #5C249F #99249F
triadic
#5C249F #9F5C24 #249F5C
tetradic
#5C249F #9F2429 #679F24 #249F99
square
#5C249F #9F2429 #679F24 #249F99
split-complementary
#5C249F #9F9924 #299F24
monochromatic
#220D3B #3F196D #5C249F #7930D0 #9962DB

Accessibility & contrast

On white

9.51
#5C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C249F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C249F#FFFFFF#000000##FFFFFF
##5C249F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#4B4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c249f;
/* rgb */ color: rgb(92, 36, 159);
/* oklch */ color: oklch(41.5% 0.184 298.6);
Tailwind
colors: {
  custom: {
    50: '#9165bc',
    500: '#5c249f',
    950: '#000000',
  },
}
SCSS
$custom: #5c249f;
$custom-light: #9165bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c249f",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 267.317,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41485,
    "c": 0.18362,
    "h": 298.6
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#5C249F
secondary
#94C15E
accent
#E6429B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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