#3C1952

A color in the Purple, Crimson, Magenta family

#3c1952 is a color in the Purple, Crimson, Magenta family: RGB(60, 25, 82), HSL(277°, 53%, 21%), CMYK(27%, 70%, 0%, 68%). Closest named color: midnightblue. Contrast is 14.45:1 on white and 1.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#3c1952
RGBrgb(60 25 82)
RGB (legacy)rgb(60, 25, 82)
RGB %rgb(24% 10% 32%)
HSLhsl(277 53% 21%)
HSV / HSBhsv(277, 70%, 32%)
HWBhwb(277 10% 68%)
CMYKcmyk(27%, 70%, 0%, 68%)
CIELAB (D50)lab(16.57 25.97 -28.16)
LCHlch(16.57 38.31 312.68)
OKLaboklab(0.2953 0.0657 -0.0788)
OKLCHoklch(0.2953 0.1026 309.8)
Decimal3938642

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 8.8
Closest web-safe color#330066
Hue277°
Saturation (HSL / HSV)53% / 70%
Lightness (HSL)21%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)16% / 14%
Relative luminance (WCAG)0.0227
Red / Green / Blue60 / 25 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.45:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.45: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 100.8 / 0 · As background with white / black text: Lc -103.8 / 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: #3c1952;
  --color-brand-oklch: oklch(29.53% 0.1026 309.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(60 25 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3c1952] text-[#3c1952] border-[#3c1952]">