#5D00A8

A color in the Purple, Crimson, Magenta family

#5d00a8 is a color in the Purple, Crimson, Magenta family: RGB(93, 0, 168), HSL(273°, 100%, 33%), CMYK(45%, 100%, 0%, 34%). Closest named color: indigo. Contrast is 10.34:1 on white and 2.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5d00a8
RGBrgb(93 0 168)
RGB (legacy)rgb(93, 0, 168)
RGB %rgb(36% 0% 66%)
HSLhsl(273 100% 33%)
HSV / HSBhsv(273, 100%, 66%)
HWBhwb(273 0% 34%)
CMYKcmyk(45%, 100%, 0%, 34%)
CIELAB (D50)lab(26.18 55.99 -66.96)
LCHlch(26.18 87.28 309.9)
OKLaboklab(0.4016 0.1049 -0.1881)
OKLCHoklch(0.4016 0.2154 299.14)
Decimal6095016

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 7.3
Closest web-safe color#660099
Hue273°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)18% / 13%
Relative luminance (WCAG)0.0515
Red / Green / Blue93 / 0 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.34:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.03: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 91.7 / -10.6 · As background with white / black text: Lc -96 / 12.2

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: #5d00a8;
  --color-brand-oklch: oklch(40.16% 0.2154 299.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(93 0 168 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5d00a8] text-[#5d00a8] border-[#5d00a8]">