#3C1958

A color in the Purple, Crimson, Magenta family

#3c1958 is a color in the Purple, Crimson, Magenta family: RGB(60, 25, 88), HSL(273°, 56%, 22%), CMYK(32%, 72%, 0%, 65%). Closest named color: indigo. Contrast is 14.27:1 on white and 1.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3c1958
RGBrgb(60 25 88)
RGB (legacy)rgb(60, 25, 88)
RGB %rgb(24% 10% 35%)
HSLhsl(273 56% 22%)
HSV / HSBhsv(273, 72%, 35%)
HWBhwb(273 10% 65%)
CMYKcmyk(32%, 72%, 0%, 65%)
CIELAB (D50)lab(16.96 27.2 -31.58)
LCHlch(16.96 41.68 310.74)
OKLaboklab(0.3 0.0652 -0.0886)
OKLCHoklch(0.3 0.11 306.36)
Decimal3938648

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 8
Closest web-safe color#330066
Hue273°
Saturation (HSL / HSV)56% / 72%
Lightness (HSL)22%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)17% / 15%
Relative luminance (WCAG)0.0236
Red / Green / Blue60 / 25 / 88

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.47: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.6 / 0 · As background with white / black text: Lc -103.6 / 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: #3c1958;
  --color-brand-oklch: oklch(30% 0.11 306.36);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(60 25 88 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3c1958] text-[#3c1958] border-[#3c1958]">