#5C0D53#5C0D53

#5C0D53 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.135 H 333.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5C0D53
RGBrgb(92, 13, 83)
HSLhsl(307, 75%, 21%)
HSVhsv(307, 86%, 36%)
CMYKcmyk(0%, 85.9%, 9.8%, 63.9%)
CIE-LABlab(20.78, 41.85, -21.98)
CIE-LCHlch(20.78, 47.27, 332.29°)
OKLaboklab(33.51% 0.1213 -0.0603)
OKLCHoklch(33.51% 0.135 333.5)
XYZxyz(6.1189, 3.1882, 8.4751)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D53 #0D5C16
analogous
#3D0D5C #5C0D53 #5C0D2C
triadic
#5C0D53 #535C0D #0D535C
tetradic
#5C0D53 #5C3D0D #0D5C16 #0D2C5C
square
#5C0D53 #5C3D0D #0D5C16 #0D2C5C
split-complementary
#5C0D53 #2C5C0D #0D5C3D
monochromatic
#1B0418 #260523 #5C0D53 #921583 #C71CB4

Accessibility & contrast

On white

12.82
#5C0D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C0D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D53
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D53#FFFFFF#000000##FFFFFF
##5C0D531.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B55
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#611630
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0d53;
/* rgb */ color: rgb(92, 13, 83);
/* oklch */ color: oklch(33.5% 0.135 333.5);
Tailwind
colors: {
  custom: {
    50: '#8d5783',
    500: '#5c0d53',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d53;
$custom-light: #8d5783;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d53",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 306.835,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.13545,
    "h": 333.5
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#5C0D53
secondary
#2F963A
accent
#F24B36
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0D53

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

Preview Lab → · Contrast checker → · Palette generator →

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