#B341A0

A color in the Purple, Crimson, Magenta family

#b341a0 is a color in the Purple, Crimson, Magenta family: RGB(179, 65, 160), HSL(310°, 47%, 48%), CMYK(0%, 64%, 11%, 30%). Closest named color: mediumvioletred. Contrast is 5.02:1 on white and 4.18:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b341a0
RGBrgb(179 65 160)
RGB (legacy)rgb(179, 65, 160)
RGB %rgb(70% 25% 63%)
HSLhsl(310 47% 48%)
HSV / HSBhsv(310, 64%, 70%)
HWBhwb(310 25% 30%)
CMYKcmyk(0%, 64%, 11%, 30%)
CIELAB (D50)lab(46.91 54.82 -28.06)
LCHlch(46.91 61.59 332.9)
OKLaboklab(0.5657 0.1659 -0.0777)
OKLCHoklch(0.5657 0.1832 334.9)
Decimal11747744

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.6
Closest web-safe color#cc3399
Hue310°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)48%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)43% / 38%
Relative luminance (WCAG)0.159
Red / Green / Blue179 / 65 / 160

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.18: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 73.9 / -27.8 · As background with white / black text: Lc -79.3 / 30.2

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: #b341a0;
  --color-brand-oklch: oklch(56.57% 0.1832 334.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 65 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b341a0] text-[#b341a0] border-[#b341a0]">