#A1237F

A color in the Purple, Crimson, Magenta family

#a1237f is a color in the Purple, Crimson, Magenta family: RGB(161, 35, 127), HSL(316°, 64%, 38%), CMYK(0%, 78%, 21%, 37%). Closest named color: darkmagenta. Contrast is 6.86:1 on white and 3.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a1237f
RGBrgb(161 35 127)
RGB (legacy)rgb(161, 35, 127)
RGB %rgb(63% 14% 50%)
HSLhsl(316 64% 38%)
HSV / HSBhsv(316, 78%, 63%)
HWBhwb(316 14% 37%)
CMYKcmyk(0%, 78%, 21%, 37%)
CIELAB (D50)lab(38.59 56.8 -21.2)
LCHlch(38.59 60.63 339.54)
OKLaboklab(0.4936 0.1757 -0.0589)
OKLCHoklch(0.4936 0.1853 341.48)
Decimal10560383

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.86:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.06: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.4 / -19.5 · As background with white / black text: Lc -87.4 / 21.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: #a1237f;
  --color-brand-oklch: oklch(49.36% 0.1853 341.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(161 35 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a1237f] text-[#a1237f] border-[#a1237f]">