#81237D

A color in the Purple, Crimson, Magenta family

#81237d is a color in the Purple, Crimson, Magenta family: RGB(129, 35, 125), HSL(303°, 57%, 32%), CMYK(0%, 73%, 3%, 49%). Closest named color: purple. Contrast is 8.5:1 on white and 2.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#81237d
RGBrgb(129 35 125)
RGB (legacy)rgb(129, 35, 125)
RGB %rgb(51% 14% 49%)
HSLhsl(303 57% 32%)
HSV / HSBhsv(303, 73%, 51%)
HWBhwb(303 14% 49%)
CMYKcmyk(0%, 73%, 3%, 49%)
CIELAB (D50)lab(32.55 48.11 -29.87)
LCHlch(32.55 56.63 328.16)
OKLaboklab(0.4406 0.1427 -0.0831)
OKLCHoklch(0.4406 0.1651 329.77)
Decimal8463229

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 3.5
Closest web-safe color#993366
Hue303°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)32%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)29% / 24%
Relative luminance (WCAG)0.0735
Red / Green / Blue129 / 35 / 125

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.47: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.2 / -13.9 · As background with white / black text: Lc -92.9 / 15.8

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: #81237d;
  --color-brand-oklch: oklch(44.06% 0.1651 329.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(129 35 125 / 50%); }
/* Tailwind CSS */
<div class="bg-[#81237d] text-[#81237d] border-[#81237d]">