#5C246E#5C246E

#5C246E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.6% C 0.131 H 317.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#5C246E
RGBrgb(92, 36, 110)
HSLhsl(285, 51%, 29%)
HSVhsv(285, 67%, 43%)
CMYKcmyk(16.4%, 67.3%, 0%, 56.9%)
CIE-LABlab(25.75, 37.85, -31.84)
CIE-LCHlch(25.75, 49.47, 319.93°)
OKLaboklab(37.63% 0.0956 -0.0892)
OKLCHoklch(37.63% 0.131 317)
XYZxyz(7.8586, 4.6632, 15.2350)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C246E #366E24
analogous
#37246E #5C246E #6E245B
triadic
#5C246E #6E5C24 #246E5C
tetradic
#5C246E #6E3724 #366E24 #245B6E
square
#5C246E #6E3724 #366E24 #245B6E
split-complementary
#5C246E #5B6E24 #246E37
monochromatic
#130817 #351540 #5C246E #83339C #A649C3

Accessibility & contrast

On white

10.87
#5C246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5C246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C246E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C246E#FFFFFF#000000##FFFFFF
##5C246E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3970
Deuteranopia (green-blind)
#263F6C
Tritanopia (blue-blind)
#5B3145
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c246e;
/* rgb */ color: rgb(92, 36, 110);
/* oklch */ color: oklch(37.6% 0.131 317.0);
Tailwind
colors: {
  custom: {
    50: '#8d6398',
    500: '#5c246e',
    950: '#000000',
  },
}
SCSS
$custom: #5c246e;
$custom-light: #8d6398;
$custom-dark: #000000;
JSON
{
  "hex": "#5c246e",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 285.405,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37629,
    "c": 0.13079,
    "h": 317
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#5C246E
secondary
#61A14D
accent
#DA4E70
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5C246E

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

Preview Lab → · Contrast checker → · Palette generator →

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