#5A00A3

A color in the Purple, Crimson, Magenta family

#5a00a3 is a color in the Purple, Crimson, Magenta family: RGB(90, 0, 163), HSL(273°, 100%, 32%), CMYK(45%, 100%, 0%, 36%). Closest named color: indigo. Contrast is 10.69:1 on white and 1.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5a00a3
RGBrgb(90 0 163)
RGB (legacy)rgb(90, 0, 163)
RGB %rgb(35% 0% 64%)
HSLhsl(273 100% 32%)
HSV / HSBhsv(273, 100%, 64%)
HWBhwb(273 0% 36%)
CMYKcmyk(45%, 100%, 0%, 36%)
CIELAB (D50)lab(25.24 54.75 -65.5)
LCHlch(25.24 85.37 309.89)
OKLaboklab(0.3927 0.1025 -0.184)
OKLCHoklch(0.3927 0.2107 299.11)
Decimal5898403

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 6.3
Closest web-safe color#660099
Hue273°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)18% / 12%
Relative luminance (WCAG)0.0482
Red / Green / Blue90 / 0 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.96: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 92.6 / -9.9 · As background with white / black text: Lc -96.8 / 11.4

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: #5a00a3;
  --color-brand-oklch: oklch(39.27% 0.2107 299.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(90 0 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5a00a3] text-[#5a00a3] border-[#5a00a3]">