#A1237D

A color in the Purple, Crimson, Magenta family

#a1237d is a color in the Purple, Crimson, Magenta family: RGB(161, 35, 125), HSL(317°, 64%, 38%), CMYK(0%, 78%, 22%, 37%). Closest named color: darkmagenta. Contrast is 6.88:1 on white and 3.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a1237d
RGBrgb(161 35 125)
RGB (legacy)rgb(161, 35, 125)
RGB %rgb(63% 14% 49%)
HSLhsl(317 64% 38%)
HSV / HSBhsv(317, 78%, 63%)
HWBhwb(317 14% 37%)
CMYKcmyk(0%, 78%, 22%, 37%)
CIELAB (D50)lab(38.51 56.61 -20.07)
LCHlch(38.51 60.06 340.48)
OKLaboklab(0.4926 0.1754 -0.0557)
OKLCHoklch(0.4926 0.1841 342.37)
Decimal10560381

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 6.9
Closest web-safe color#993366
Hue317°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)38%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)33% / 27%
Relative luminance (WCAG)0.1026
Red / Green / Blue161 / 35 / 125

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.05:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 82.5 / -19.4 · As background with white / black text: Lc -87.5 / 21.6

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: #a1237d;
  --color-brand-oklch: oklch(49.26% 0.1841 342.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(161 35 125 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a1237d] text-[#a1237d] border-[#a1237d]">