#1C021A

A color in the Purple, Crimson, Magenta family

#1c021a is a color in the Purple, Crimson, Magenta family: RGB(28, 2, 26), HSL(305°, 87%, 6%), CMYK(0%, 93%, 7%, 89%). Closest named color: black. Contrast is 19.57:1 on white and 1.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1c021a
RGBrgb(28 2 26)
RGB (legacy)rgb(28, 2, 26)
RGB %rgb(11% 1% 10%)
HSLhsl(305 87% 6%)
HSV / HSBhsv(305, 93%, 11%)
HWBhwb(305 1% 89%)
CMYKcmyk(0%, 93%, 7%, 89%)
CIELAB (D50)lab(3.29 13.17 -8.66)
LCHlch(3.29 15.76 326.68)
OKLaboklab(0.1625 0.0562 -0.031)
OKLCHoklch(0.1625 0.0642 331.1)
Decimal1835546

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblack ΔE 17.5
Closest web-safe color#330033
Hue305°
Saturation (HSL / HSV)87% / 93%
Lightness (HSL)6%
Brightness or Value (HSV)11%
Luminance (Rec.601 / Rec.709)5% / 4%
Relative luminance (WCAG)0.0036
Red / Green / Blue28 / 2 / 26

WCAG 2.2 Contrast Ratio

On White (#ffffff)
19.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.07: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 105.4 / 0 · As background with white / black text: Lc -107.4 / 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: #1c021a;
  --color-brand-oklch: oklch(16.25% 0.0642 331.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 2 26 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c021a] text-[#1c021a] border-[#1c021a]">