#5C1763#5C1763

#5C1763 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.138 H 323.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5C1763
RGBrgb(92, 23, 99)
HSLhsl(294, 62%, 24%)
HSVhsv(294, 77%, 39%)
CMYKcmyk(7.1%, 76.8%, 0%, 61.2%)
CIE-LABlab(22.96, 41.36, -29.15)
CIE-LCHlch(22.96, 50.60, 324.82°)
OKLaboklab(35.39% 0.1115 -0.0813)
OKLCHoklch(35.39% 0.138 323.9)
XYZxyz(6.9720, 3.7894, 12.1662)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1763 #1E6317
analogous
#361763 #5C1763 #631744
triadic
#5C1763 #635C17 #17635C
tetradic
#5C1763 #633617 #1E6317 #174463
square
#5C1763 #633617 #1E6317 #174463
split-complementary
#5C1763 #446317 #176336
monochromatic
#170619 #2E0B31 #5C1763 #8A2395 #B82EC6

Accessibility & contrast

On white

11.95
#5C1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1763
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1763#FFFFFF#000000##FFFFFF
##5C17631.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#5E243B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1763;
/* rgb */ color: rgb(92, 23, 99);
/* oklch */ color: oklch(35.4% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#8d5c90',
    500: '#5c1763',
    950: '#000000',
  },
}
SCSS
$custom: #5c1763;
$custom-light: #8d5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1763",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 294.474,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.13798,
    "h": 323.9
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#5C1763
secondary
#459A3C
accent
#E54251
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1763

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

Preview Lab → · Contrast checker → · Palette generator →

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