#830C8A

A color in the Purple, Crimson, Magenta family

#830c8a is a color in the Purple, Crimson, Magenta family: RGB(131, 12, 138), HSL(297°, 84%, 29%), CMYK(5%, 91%, 0%, 46%). Closest named color: darkmagenta. Contrast is 8.81:1 on white and 2.38:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#830c8a
RGBrgb(131 12 138)
RGB (legacy)rgb(131, 12, 138)
RGB %rgb(51% 5% 54%)
HSLhsl(297 84% 29%)
HSV / HSBhsv(297, 91%, 54%)
HWBhwb(297 5% 46%)
CMYKcmyk(5%, 91%, 0%, 46%)
CIELAB (D50)lab(31.47 56.12 -39.65)
LCHlch(31.47 68.72 324.75)
OKLaboklab(0.437 0.1615 -0.1109)
OKLCHoklch(0.437 0.196 325.52)
Decimal8588426

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 1.7
Closest web-safe color#990099
Hue297°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)29%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)24% / 18%
Relative luminance (WCAG)0.0692
Red / Green / Blue131 / 12 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.81:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.38: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 88.4 / -13.8 · As background with white / black text: Lc -93 / 15.6

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: #830c8a;
  --color-brand-oklch: oklch(43.7% 0.196 325.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 12 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#830c8a] text-[#830c8a] border-[#830c8a]">