#831772

A color in the Purple, Crimson, Magenta family

#831772 is a color in the Purple, Crimson, Magenta family: RGB(131, 23, 114), HSL(309°, 70%, 30%), CMYK(0%, 82%, 13%, 49%). Closest named color: purple. Contrast is 9.01:1 on white and 2.33:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#831772
RGBrgb(131 23 114)
RGB (legacy)rgb(131, 23, 114)
RGB %rgb(51% 9% 45%)
HSLhsl(309 70% 30%)
HSV / HSBhsv(309, 82%, 51%)
HWBhwb(309 9% 49%)
CMYKcmyk(0%, 82%, 13%, 49%)
CIELAB (D50)lab(31.08 51.04 -25.21)
LCHlch(31.08 56.92 333.71)
OKLaboklab(0.428 0.1555 -0.0701)
OKLCHoklch(0.428 0.1706 335.74)
Decimal8591218

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.01:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.33: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 89.3 / -12.9 · As background with white / black text: Lc -93.9 / 14.7

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