#400A43

A color in the Purple, Crimson, Magenta family

#400a43 is a color in the Purple, Crimson, Magenta family: RGB(64, 10, 67), HSL(297°, 74%, 15%), CMYK(4%, 85%, 0%, 74%). Closest named color: indigo. Contrast is 15.64:1 on white and 1.34:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#400a43
RGBrgb(64 10 67)
RGB (legacy)rgb(64, 10, 67)
RGB %rgb(25% 4% 26%)
HSLhsl(297 74% 15%)
HSV / HSBhsv(297, 85%, 26%)
HWBhwb(297 4% 74%)
CMYKcmyk(4%, 85%, 0%, 74%)
CIELAB (D50)lab(13.82 31.4 -22.17)
LCHlch(13.82 38.44 324.78)
OKLaboklab(0.2723 0.0908 -0.0619)
OKLCHoklch(0.2723 0.1099 325.72)
Decimal4196931

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 11.3
Closest web-safe color#330033
Hue297°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)15%
Brightness or Value (HSV)26%
Luminance (Rec.601 / Rec.709)13% / 10%
Relative luminance (WCAG)0.0171
Red / Green / Blue64 / 10 / 67

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.34: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 101.9 / 0 · As background with white / black text: Lc -104.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: #400a43;
  --color-brand-oklch: oklch(27.23% 0.1099 325.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 67 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400a43] text-[#400a43] border-[#400a43]">