#9E00A1

A color in the Purple, Crimson, Magenta family

#9e00a1 is a color in the Purple, Crimson, Magenta family: RGB(158, 0, 161), HSL(299°, 100%, 32%), CMYK(2%, 100%, 0%, 37%). Closest named color: darkmagenta. Contrast is 7.07:1 on white and 2.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9e00a1
RGBrgb(158 0 161)
RGB (legacy)rgb(158, 0, 161)
RGB %rgb(62% 0% 63%)
HSLhsl(299 100% 32%)
HSV / HSBhsv(299, 100%, 63%)
HWBhwb(299 0% 37%)
CMYKcmyk(2%, 100%, 0%, 37%)
CIELAB (D50)lab(37.42 65.74 -43.86)
LCHlch(37.42 79.03 326.29)
OKLaboklab(0.4926 0.1916 -0.1227)
OKLCHoklch(0.4926 0.2275 327.37)
Decimal10354849

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.1
Closest web-safe color#990099
Hue299°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)26% / 18%
Relative luminance (WCAG)0.0984
Red / Green / Blue158 / 0 / 161

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.97: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 82.2 / -19.7 · As background with white / black text: Lc -87.2 / 21.9

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: #9e00a1;
  --color-brand-oklch: oklch(49.26% 0.2275 327.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(158 0 161 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9e00a1] text-[#9e00a1] border-[#9e00a1]">