#5C1957

A color in the Purple, Crimson, Magenta family

#5c1957 is a color in the Purple, Crimson, Magenta family: RGB(92, 25, 87), HSL(304°, 57%, 23%), CMYK(0%, 73%, 5%, 64%). Closest named color: indigo. Contrast is 12.13:1 on white and 1.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5c1957
RGBrgb(92 25 87)
RGB (legacy)rgb(92, 25, 87)
RGB %rgb(36% 10% 34%)
HSLhsl(304 57% 23%)
HSV / HSBhsv(304, 73%, 36%)
HWBhwb(304 10% 64%)
CMYKcmyk(0%, 73%, 5%, 64%)
CIELAB (D50)lab(22.5 36.55 -21.71)
LCHlch(22.5 42.51 329.29)
OKLaboklab(0.3483 0.1091 -0.0603)
OKLCHoklch(0.3483 0.1246 331.05)
Decimal6035799

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 9.4
Closest web-safe color#660066
Hue304°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)23%
Brightness or Value (HSV)36%
Luminance (Rec.601 / Rec.709)20% / 17%
Relative luminance (WCAG)0.0366
Red / Green / Blue92 / 25 / 87

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.13:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.73: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.9 / 0 · As background with white / black text: Lc -100.5 / 0

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: #5c1957;
  --color-brand-oklch: oklch(34.83% 0.1246 331.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(92 25 87 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5c1957] text-[#5c1957] border-[#5c1957]">