#1C1921

A color in the Violet family

#1c1921 is a color in the Violet family: RGB(28, 25, 33), HSL(263°, 14%, 11%), CMYK(15%, 24%, 0%, 87%). Closest named color: midnightblue. Contrast is 17.35:1 on white and 1.21:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1c1921
RGBrgb(28 25 33)
RGB (legacy)rgb(28, 25, 33)
RGB %rgb(11% 10% 13%)
HSLhsl(263 14% 11%)
HSV / HSBhsv(263, 24%, 13%)
HWBhwb(263 10% 87%)
CMYKcmyk(15%, 24%, 0%, 87%)
CIELAB (D50)lab(9.38 3.1 -5.01)
LCHlch(9.38 5.89 301.74)
OKLaboklab(0.2205 0.0085 -0.0135)
OKLCHoklch(0.2205 0.016 302.19)
Decimal1841441

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 14.6
Closest web-safe color#330033
Hue263°
Saturation (HSL / HSV)14% / 24%
Lightness (HSL)11%
Brightness or Value (HSV)13%
Luminance (Rec.601 / Rec.709)11% / 10%
Relative luminance (WCAG)0.0105
Red / Green / Blue28 / 25 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.35:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.21: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 104.2 / 0 · As background with white / black text: Lc -106.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: #1c1921;
  --color-brand-oklch: oklch(22.05% 0.016 302.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1921] text-[#1c1921] border-[#1c1921]">