#3C1946

A color in the Purple, Crimson, Magenta family

#3c1946 is a color in the Purple, Crimson, Magenta family: RGB(60, 25, 70), HSL(287°, 47%, 19%), CMYK(14%, 64%, 0%, 73%). Closest named color: midnightblue. Contrast is 14.79:1 on white and 1.42:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3c1946
RGBrgb(60 25 70)
RGB (legacy)rgb(60, 25, 70)
RGB %rgb(24% 10% 27%)
HSLhsl(287 47% 19%)
HSV / HSBhsv(287, 64%, 27%)
HWBhwb(287 10% 73%)
CMYKcmyk(14%, 64%, 0%, 73%)
CIELAB (D50)lab(15.87 23.66 -21.07)
LCHlch(15.87 31.69 318.31)
OKLaboklab(0.2866 0.0656 -0.0587)
OKLCHoklch(0.2866 0.088 318.21)
Decimal3938630

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 10.3
Closest web-safe color#330033
Hue287°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)19%
Brightness or Value (HSV)27%
Luminance (Rec.601 / Rec.709)16% / 14%
Relative luminance (WCAG)0.021
Red / Green / Blue60 / 25 / 70

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.79:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.42: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.3 / 0 · As background with white / black text: Lc -104.2 / 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: #3c1946;
  --color-brand-oklch: oklch(28.66% 0.088 318.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(60 25 70 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3c1946] text-[#3c1946] border-[#3c1946]">