#2D0621

A color in the Purple, Crimson, Magenta family

#2d0621 is a color in the Purple, Crimson, Magenta family: RGB(45, 6, 33), HSL(318°, 76%, 10%), CMYK(0%, 87%, 27%, 82%). Closest named color: midnightblue. Contrast is 18.11:1 on white and 1.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2d0621
RGBrgb(45 6 33)
RGB (legacy)rgb(45, 6, 33)
RGB %rgb(18% 2% 13%)
HSLhsl(318 76% 10%)
HSV / HSBhsv(318, 87%, 18%)
HWBhwb(318 2% 82%)
CMYKcmyk(0%, 87%, 27%, 82%)
CIELAB (D50)lab(7.29 22.53 -7.85)
LCHlch(7.29 23.86 340.8)
OKLaboklab(0.2095 0.07 -0.0219)
OKLCHoklch(0.2095 0.0733 342.64)
Decimal2950689

Properties

Color TonePurple, Crimson, Magenta
Closest named colormidnightblue ΔE 15.8
Closest web-safe color#330033
Hue318°
Saturation (HSL / HSV)76% / 87%
Lightness (HSL)10%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)8% / 6%
Relative luminance (WCAG)0.008
Red / Green / Blue45 / 6 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.16: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.4 / 0 · As background with white / black text: Lc -106.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: #2d0621;
  --color-brand-oklch: oklch(20.95% 0.0733 342.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(45 6 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2d0621] text-[#2d0621] border-[#2d0621]">