#400A64

A color in the Purple, Crimson, Magenta family

#400a64 is a color in the Purple, Crimson, Magenta family: RGB(64, 10, 100), HSL(276°, 82%, 22%), CMYK(36%, 90%, 0%, 61%). Closest named color: indigo. Contrast is 14.53:1 on white and 1.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#400a64
RGBrgb(64 10 100)
RGB (legacy)rgb(64, 10, 100)
RGB %rgb(25% 4% 39%)
HSLhsl(276 82% 22%)
HSV / HSBhsv(276, 90%, 39%)
HWBhwb(276 4% 61%)
CMYKcmyk(36%, 90%, 0%, 61%)
CIELAB (D50)lab(16.16 36.97 -40.82)
LCHlch(16.16 55.07 312.16)
OKLaboklab(0.3001 0.0834 -0.1148)
OKLCHoklch(0.3001 0.1419 306.01)
Decimal4196964

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 5.5
Closest web-safe color#330066
Hue276°
Saturation (HSL / HSV)82% / 90%
Lightness (HSL)22%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)14% / 11%
Relative luminance (WCAG)0.0223
Red / Green / Blue64 / 10 / 100

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.45: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 100.3 / 0 · As background with white / black text: Lc -103.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: #400a64;
  --color-brand-oklch: oklch(30.01% 0.1419 306.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 100 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400a64] text-[#400a64] border-[#400a64]">