#831781

A color in the Purple, Crimson, Magenta family

#831781 is a color in the Purple, Crimson, Magenta family: RGB(131, 23, 129), HSL(301°, 70%, 30%), CMYK(0%, 82%, 2%, 49%). Closest named color: purple. Contrast is 8.73:1 on white and 2.4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#831781
RGBrgb(131 23 129)
RGB (legacy)rgb(131, 23, 129)
RGB %rgb(51% 9% 51%)
HSLhsl(301 70% 30%)
HSV / HSBhsv(301, 82%, 51%)
HWBhwb(301 9% 49%)
CMYKcmyk(0%, 82%, 2%, 49%)
CIELAB (D50)lab(31.8 52.76 -33.54)
LCHlch(31.8 62.52 327.56)
OKLaboklab(0.4368 0.1557 -0.0936)
OKLCHoklch(0.4368 0.1817 329)
Decimal8591233

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 2
Closest web-safe color#990099
Hue301°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)30%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)26% / 21%
Relative luminance (WCAG)0.0702
Red / Green / Blue131 / 23 / 129

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.40: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.5 / -13.7 · As background with white / black text: Lc -93.1 / 15.5

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: #831781;
  --color-brand-oklch: oklch(43.68% 0.1817 329);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 23 129 / 50%); }
/* Tailwind CSS */
<div class="bg-[#831781] text-[#831781] border-[#831781]">