#5C0E53#5C0E53

#5C0E53 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.134 H 333.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5C0E53
RGBrgb(92, 14, 83)
HSLhsl(307, 74%, 21%)
HSVhsv(307, 85%, 36%)
CMYKcmyk(0%, 84.8%, 9.8%, 63.9%)
CIE-LABlab(20.88, 41.56, -21.82)
CIE-LCHlch(20.88, 46.94, 332.30°)
OKLaboklab(33.59% 0.1204 -0.0599)
OKLCHoklch(33.59% 0.134 333.6)
XYZxyz(6.1321, 3.2145, 8.4794)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E53 #0E5C17
analogous
#3E0E5C #5C0E53 #5C0E2C
triadic
#5C0E53 #535C0E #0E535C
tetradic
#5C0E53 #5C3E0E #0E5C17 #0E2C5C
square
#5C0E53 #5C3E0E #0E5C17 #0E2C5C
split-complementary
#5C0E53 #2C5C0E #0E5C3E
monochromatic
#1B0418 #270623 #5C0E53 #911683 #C61EB3

Accessibility & contrast

On white

12.78
#5C0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E53
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E53#FFFFFF#000000##FFFFFF
##5C0E531.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B55
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#611730
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0e53;
/* rgb */ color: rgb(92, 14, 83);
/* oklch */ color: oklch(33.6% 0.134 333.6);
Tailwind
colors: {
  custom: {
    50: '#8d5883',
    500: '#5c0e53',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e53;
$custom-light: #8d5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e53",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 306.923,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.13449,
    "h": 333.6
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#5C0E53
secondary
#30963C
accent
#F04D38
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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