#3C052D

A color in the Purple, Crimson, Magenta family

#3c052d is a color in the Purple, Crimson, Magenta family: RGB(60, 5, 45), HSL(316°, 85%, 13%), CMYK(0%, 92%, 25%, 76%). Closest named color: midnightblue. Contrast is 16.78:1 on white and 1.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3c052d
RGBrgb(60 5 45)
RGB (legacy)rgb(60, 5, 45)
RGB %rgb(24% 2% 18%)
HSLhsl(316 85% 13%)
HSV / HSBhsv(316, 92%, 24%)
HWBhwb(316 2% 76%)
CMYKcmyk(0%, 92%, 25%, 76%)
CIELAB (D50)lab(11.09 29.32 -10.71)
LCHlch(11.09 31.21 339.94)
OKLaboklab(0.2454 0.0909 -0.0298)
OKLCHoklch(0.2454 0.0956 341.87)
Decimal3933485

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 14.8
Closest web-safe color#330033
Hue316°
Saturation (HSL / HSV)85% / 92%
Lightness (HSL)13%
Brightness or Value (HSV)24%
Luminance (Rec.601 / Rec.709)10% / 8%
Relative luminance (WCAG)0.0126
Red / Green / Blue60 / 5 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.25: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 102.9 / 0 · As background with white / black text: Lc -105.5 / 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: #3c052d;
  --color-brand-oklch: oklch(24.54% 0.0956 341.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(60 5 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3c052d] text-[#3c052d] border-[#3c052d]">