#831782

A color in the Purple, Crimson, Magenta family

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

Open in Picker Generate Scheme

Color Codes

HEX#831782
RGBrgb(131 23 130)
RGB (legacy)rgb(131, 23, 130)
RGB %rgb(51% 9% 51%)
HSLhsl(301 70% 30%)
HSV / HSBhsv(301, 82%, 51%)
HWBhwb(301 9% 49%)
CMYKcmyk(0%, 82%, 1%, 49%)
CIELAB (D50)lab(31.85 52.88 -34.08)
LCHlch(31.85 62.92 327.2)
OKLaboklab(0.4374 0.1557 -0.0951)
OKLCHoklch(0.4374 0.1824 328.58)
Decimal8591234

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.0705
Red / Green / Blue131 / 23 / 130

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.41: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: #831782;
  --color-brand-oklch: oklch(43.74% 0.1824 328.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 23 130 / 50%); }
/* Tailwind CSS */
<div class="bg-[#831782] text-[#831782] border-[#831782]">