#3C1931

A color in the Purple, Crimson, Magenta family

#3c1931 is a color in the Purple, Crimson, Magenta family: RGB(60, 25, 49), HSL(319°, 41%, 17%), CMYK(0%, 58%, 18%, 76%). Closest named color: midnightblue. Contrast is 15.27:1 on white and 1.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3c1931
RGBrgb(60 25 49)
RGB (legacy)rgb(60, 25, 49)
RGB %rgb(24% 10% 19%)
HSLhsl(319 41% 17%)
HSV / HSBhsv(319, 58%, 24%)
HWBhwb(319 10% 76%)
CMYKcmyk(0%, 58%, 18%, 76%)
CIELAB (D50)lab(14.89 20.24 -7.82)
LCHlch(14.89 21.7 338.87)
OKLaboklab(0.2743 0.0616 -0.0215)
OKLCHoklch(0.2743 0.0653 340.74)
Decimal3938609

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 13.4
Closest web-safe color#330033
Hue319°
Saturation (HSL / HSV)41% / 58%
Lightness (HSL)17%
Brightness or Value (HSV)24%
Luminance (Rec.601 / Rec.709)15% / 13%
Relative luminance (WCAG)0.0188
Red / Green / Blue60 / 25 / 49

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.38: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 101.9 / 0 · As background with white / black text: Lc -104.7 / 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: #3c1931;
  --color-brand-oklch: oklch(27.43% 0.0653 340.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(60 25 49 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3c1931] text-[#3c1931] border-[#3c1931]">