#5C1263#5C1263

#5C1263 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.144 H 324.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5C1263
RGBrgb(92, 18, 99)
HSLhsl(295, 69%, 23%)
HSVhsv(295, 82%, 39%)
CMYKcmyk(7.1%, 81.8%, 0%, 61.2%)
CIE-LABlab(22.34, 43.16, -30.16)
CIE-LCHlch(22.34, 52.65, 325.06°)
OKLaboklab(34.95% 0.1165 -0.0842)
OKLCHoklch(34.95% 0.144 324.1)
XYZxyz(6.8819, 3.6092, 12.1361)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1263 #196312
analogous
#331263 #5C1263 #631241
triadic
#5C1263 #635C12 #12635C
tetradic
#5C1263 #633312 #196312 #124163
square
#5C1263 #633312 #196312 #124163
split-complementary
#5C1263 #416312 #126333
monochromatic
#18051A #2C092F #5C1263 #8C1B97 #BC25CB

Accessibility & contrast

On white

12.20
#5C1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1263
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1263#FFFFFF#000000##FFFFFF
##5C12631.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#223861
Tritanopia (blue-blind)
#5E223A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1263;
/* rgb */ color: rgb(92, 18, 99);
/* oklch */ color: oklch(34.9% 0.144 324.1);
Tailwind
colors: {
  custom: {
    50: '#8d5a90',
    500: '#5c1263',
    950: '#000000',
  },
}
SCSS
$custom: #5c1263;
$custom-light: #8d5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1263",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 294.815,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34947,
    "c": 0.14368,
    "h": 324.1
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#5C1263
secondary
#3F9B36
accent
#EC3C4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1263

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

Preview Lab → · Contrast checker → · Palette generator →

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