#831778

A color in the Purple, Crimson, Magenta family

#831778 is a color in the Purple, Crimson, Magenta family: RGB(131, 23, 120), HSL(306°, 70%, 30%), CMYK(0%, 82%, 8%, 49%). Closest named color: purple. Contrast is 8.9:1 on white and 2.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#831778
RGBrgb(131 23 120)
RGB (legacy)rgb(131, 23, 120)
RGB %rgb(51% 9% 47%)
HSLhsl(306 70% 30%)
HSV / HSBhsv(306, 82%, 51%)
HWBhwb(306 9% 49%)
CMYKcmyk(0%, 82%, 8%, 49%)
CIELAB (D50)lab(31.35 51.71 -28.58)
LCHlch(31.35 59.08 331.07)
OKLaboklab(0.4314 0.1558 -0.0796)
OKLCHoklch(0.4314 0.1749 332.94)
Decimal8591224

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.90:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.36: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 / -13.2 · As background with white / black text: Lc -93.6 / 15

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