#9B287C

A color in the Purple, Crimson, Magenta family

#9b287c is a color in the Purple, Crimson, Magenta family: RGB(155, 40, 124), HSL(316°, 59%, 38%), CMYK(0%, 74%, 20%, 39%). Closest named color: darkmagenta. Contrast is 7.03:1 on white and 2.99:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9b287c
RGBrgb(155 40 124)
RGB (legacy)rgb(155, 40, 124)
RGB %rgb(61% 16% 49%)
HSLhsl(316 59% 38%)
HSV / HSBhsv(316, 74%, 61%)
HWBhwb(316 16% 39%)
CMYKcmyk(0%, 74%, 20%, 39%)
CIELAB (D50)lab(37.91 53.37 -20.5)
LCHlch(37.91 57.17 338.99)
OKLaboklab(0.4863 0.1646 -0.0568)
OKLCHoklch(0.4863 0.1742 340.95)
Decimal10168444

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 6.5
Closest web-safe color#993366
Hue316°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)38%
Brightness or Value (HSV)61%
Luminance (Rec.601 / Rec.709)33% / 28%
Relative luminance (WCAG)0.0994
Red / Green / Blue155 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.03:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.99: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 83.2 / -18.7 · As background with white / black text: Lc -88.2 / 20.8

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: #9b287c;
  --color-brand-oklch: oklch(48.63% 0.1742 340.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(155 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9b287c] text-[#9b287c] border-[#9b287c]">