#A5259B

A color in the Purple, Crimson, Magenta family

#a5259b is a color in the Purple, Crimson, Magenta family: RGB(165, 37, 155), HSL(305°, 63%, 40%), CMYK(0%, 78%, 6%, 35%). Closest named color: darkmagenta. Contrast is 6.29:1 on white and 3.34:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a5259b
RGBrgb(165 37 155)
RGB (legacy)rgb(165, 37, 155)
RGB %rgb(65% 15% 61%)
HSLhsl(305 63% 40%)
HSV / HSBhsv(305, 78%, 65%)
HWBhwb(305 15% 35%)
CMYKcmyk(0%, 78%, 6%, 35%)
CIELAB (D50)lab(40.71 60.2 -34.94)
LCHlch(40.71 69.6 329.87)
OKLaboklab(0.5162 0.1802 -0.0973)
OKLCHoklch(0.5162 0.2048 331.64)
Decimal10823067

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 7
Closest web-safe color#993399
Hue305°
Saturation (HSL / HSV)63% / 78%
Lightness (HSL)40%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)35% / 29%
Relative luminance (WCAG)0.1169
Red / Green / Blue165 / 37 / 155

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.29:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.34: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 80 / -21.8 · As background with white / black text: Lc -85.2 / 24.1

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: #a5259b;
  --color-brand-oklch: oklch(51.62% 0.2048 331.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(165 37 155 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a5259b] text-[#a5259b] border-[#a5259b]">