#3F2E4E

A color in the Purple, Crimson, Magenta family

#3f2e4e is a color in the Purple, Crimson, Magenta family: RGB(63, 46, 78), HSL(272°, 26%, 24%), CMYK(19%, 41%, 0%, 69%). Closest named color: darkslategray. Contrast is 12.27:1 on white and 1.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3f2e4e
RGBrgb(63 46 78)
RGB (legacy)rgb(63, 46, 78)
RGB %rgb(25% 18% 31%)
HSLhsl(272 26% 24%)
HSV / HSBhsv(272, 41%, 31%)
HWBhwb(272 18% 69%)
CMYKcmyk(19%, 41%, 0%, 69%)
CIELAB (D50)lab(22.04 13.48 -16.84)
LCHlch(22.04 21.57 308.68)
OKLaboklab(0.335 0.0361 -0.0464)
OKLCHoklch(0.335 0.0588 307.89)
Decimal4140622

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslategray ΔE 10.6
Closest web-safe color#333366
Hue272°
Saturation (HSL / HSV)26% / 41%
Lightness (HSL)24%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)21% / 20%
Relative luminance (WCAG)0.0356
Red / Green / Blue63 / 46 / 78

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 97.9 / 0 · As background with white / black text: Lc -101.4 / 0

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: #3f2e4e;
  --color-brand-oklch: oklch(33.5% 0.0588 307.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(63 46 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3f2e4e] text-[#3f2e4e] border-[#3f2e4e]">