#5C1961

A color in the Purple, Crimson, Magenta family

#5c1961 is a color in the Purple, Crimson, Magenta family: RGB(92, 25, 97), HSL(296°, 59%, 24%), CMYK(5%, 74%, 0%, 62%). Closest named color: indigo. Contrast is 11.89:1 on white and 1.77:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5c1961
RGBrgb(92 25 97)
RGB (legacy)rgb(92, 25, 97)
RGB %rgb(36% 10% 38%)
HSLhsl(296 59% 24%)
HSV / HSBhsv(296, 74%, 38%)
HWBhwb(296 10% 62%)
CMYKcmyk(5%, 74%, 0%, 62%)
CIELAB (D50)lab(23.01 37.94 -27.52)
LCHlch(23.01 46.87 324.05)
OKLaboklab(0.3546 0.1094 -0.0767)
OKLCHoklch(0.3546 0.1336 324.94)
Decimal6035809

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 7.9
Closest web-safe color#660066
Hue296°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)24%
Brightness or Value (HSV)38%
Luminance (Rec.601 / Rec.709)21% / 17%
Relative luminance (WCAG)0.0383
Red / Green / Blue92 / 25 / 97

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.89:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 96.4 / 0 · As background with white / black text: Lc -100.1 / 7.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5c1961;
  --color-brand-oklch: oklch(35.46% 0.1336 324.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 25 97 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c1961] text-[#5c1961] border-[#5c1961]">