#9B00A0

A color in the Purple, Crimson, Magenta family

#9b00a0 is a color in the Purple, Crimson, Magenta family: RGB(155, 0, 160), HSL(298°, 100%, 31%), CMYK(3%, 100%, 0%, 37%). Closest named color: darkmagenta. Contrast is 7.24:1 on white and 2.9:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9b00a0
RGBrgb(155 0 160)
RGB (legacy)rgb(155, 0, 160)
RGB %rgb(61% 0% 63%)
HSLhsl(298 100% 31%)
HSV / HSBhsv(298, 100%, 63%)
HWBhwb(298 0% 37%)
CMYKcmyk(3%, 100%, 0%, 37%)
CIELAB (D50)lab(36.79 65.06 -44.31)
LCHlch(36.79 78.71 325.74)
OKLaboklab(0.4871 0.1887 -0.124)
OKLCHoklch(0.4871 0.2258 326.69)
Decimal10158240

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 4.6
Closest web-safe color#990099
Hue298°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)31%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)25% / 17%
Relative luminance (WCAG)0.0951
Red / Green / Blue155 / 0 / 160

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.90: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.8 / -19.1 · As background with white / black text: Lc -87.8 / 21.3

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: #9b00a0;
  --color-brand-oklch: oklch(48.71% 0.2258 326.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(155 0 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9b00a0] text-[#9b00a0] border-[#9b00a0]">