#98287C

A color in the Purple, Crimson, Magenta family

#98287c is a color in the Purple, Crimson, Magenta family: RGB(152, 40, 124), HSL(315°, 58%, 38%), CMYK(0%, 74%, 18%, 40%). Closest named color: darkmagenta. Contrast is 7.17:1 on white and 2.93:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#98287c
RGBrgb(152 40 124)
RGB (legacy)rgb(152, 40, 124)
RGB %rgb(60% 16% 49%)
HSLhsl(315 58% 38%)
HSV / HSBhsv(315, 74%, 60%)
HWBhwb(315 16% 40%)
CMYKcmyk(0%, 74%, 18%, 40%)
CIELAB (D50)lab(37.35 52.54 -21.4)
LCHlch(37.35 56.73 337.83)
OKLaboklab(0.4815 0.1617 -0.0594)
OKLCHoklch(0.4815 0.1722 339.84)
Decimal9971836

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 6.1
Closest web-safe color#993366
Hue315°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)38%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)33% / 27%
Relative luminance (WCAG)0.0965
Red / Green / Blue152 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.17:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.93: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.8 / -18.2 · As background with white / black text: Lc -88.8 / 20.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: #98287c;
  --color-brand-oklch: oklch(48.15% 0.1722 339.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(152 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#98287c] text-[#98287c] border-[#98287c]">