#5F00A3

A color in the Purple, Crimson, Magenta family

#5f00a3 is a color in the Purple, Crimson, Magenta family: RGB(95, 0, 163), HSL(275°, 100%, 32%), CMYK(42%, 100%, 0%, 36%). Closest named color: indigo. Contrast is 10.42:1 on white and 2.02:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5f00a3
RGBrgb(95 0 163)
RGB (legacy)rgb(95, 0, 163)
RGB %rgb(37% 0% 64%)
HSLhsl(275 100% 32%)
HSV / HSBhsv(275, 100%, 64%)
HWBhwb(275 0% 36%)
CMYKcmyk(42%, 100%, 0%, 36%)
CIELAB (D50)lab(26.06 55.41 -64.13)
LCHlch(26.06 84.75 310.83)
OKLaboklab(0.3993 0.1104 -0.1802)
OKLCHoklch(0.3993 0.2114 301.5)
Decimal6226083

Properties

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

WCAG 2.2 Contrast Ratio

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

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