#A1237C

A color in the Purple, Crimson, Magenta family

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

Open in Picker Generate Scheme

Color Codes

HEX#a1237c
RGBrgb(161 35 124)
RGB (legacy)rgb(161, 35, 124)
RGB %rgb(63% 14% 49%)
HSLhsl(318 64% 38%)
HSV / HSBhsv(318, 78%, 63%)
HWBhwb(318 14% 37%)
CMYKcmyk(0%, 78%, 23%, 37%)
CIELAB (D50)lab(38.47 56.52 -19.51)
LCHlch(38.47 59.79 340.96)
OKLaboklab(0.4922 0.1752 -0.0542)
OKLCHoklch(0.4922 0.1834 342.82)
Decimal10560380

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.89: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.6 / 21.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: #a1237c;
  --color-brand-oklch: oklch(49.22% 0.1834 342.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(161 35 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a1237c] text-[#a1237c] border-[#a1237c]">