#5A1663

A color in the Purple, Crimson, Magenta family

#5a1663 is a color in the Purple, Crimson, Magenta family: RGB(90, 22, 99), HSL(293°, 64%, 24%), CMYK(9%, 78%, 0%, 61%). Closest named color: indigo. Contrast is 12.14:1 on white and 1.73:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5a1663
RGBrgb(90 22 99)
RGB (legacy)rgb(90, 22, 99)
RGB %rgb(35% 9% 39%)
HSLhsl(293 64% 24%)
HSV / HSBhsv(293, 78%, 39%)
HWBhwb(293 9% 61%)
CMYKcmyk(9%, 78%, 0%, 61%)
CIELAB (D50)lab(22.32 38.84 -29.94)
LCHlch(22.32 49.04 322.37)
OKLaboklab(0.3498 0.11 -0.0837)
OKLCHoklch(0.3498 0.1382 322.75)
Decimal5903971

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 7.2
Closest web-safe color#660066
Hue293°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)24%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)20% / 16%
Relative luminance (WCAG)0.0365
Red / Green / Blue90 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.14: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.8 / 0 · As background with white / black text: Lc -100.4 / 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: #5a1663;
  --color-brand-oklch: oklch(34.98% 0.1382 322.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(90 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5a1663] text-[#5a1663] border-[#5a1663]">