#2B0121

A color in the Purple, Crimson, Magenta family

#2b0121 is a color in the Purple, Crimson, Magenta family: RGB(43, 1, 33), HSL(314°, 95%, 9%), CMYK(0%, 98%, 23%, 83%). Closest named color: midnightblue. Contrast is 18.6:1 on white and 1.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b0121
RGBrgb(43 1 33)
RGB (legacy)rgb(43, 1, 33)
RGB %rgb(17% 0% 13%)
HSLhsl(314 95% 9%)
HSV / HSBhsv(314, 98%, 17%)
HWBhwb(314 0% 83%)
CMYKcmyk(0%, 98%, 23%, 83%)
CIELAB (D50)lab(5.88 24.14 -10.01)
LCHlch(5.88 26.14 337.47)
OKLaboklab(0.1973 0.0775 -0.0289)
OKLCHoklch(0.1973 0.0827 339.55)
Decimal2818337

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 16.2
Closest web-safe color#330033
Hue314°
Saturation (HSL / HSV)95% / 98%
Lightness (HSL)9%
Brightness or Value (HSV)17%
Luminance (Rec.601 / Rec.709)7% / 5%
Relative luminance (WCAG)0.0065
Red / Green / Blue43 / 1 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.13: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.5 / 0 · As background with white / black text: Lc -106.7 / 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: #2b0121;
  --color-brand-oklch: oklch(19.73% 0.0827 339.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 1 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b0121] text-[#2b0121] border-[#2b0121]">