#400A70

A color in the Purple, Crimson, Magenta family

#400a70 is a color in the Purple, Crimson, Magenta family: RGB(64, 10, 112), HSL(272°, 84%, 24%), CMYK(43%, 91%, 0%, 56%). Closest named color: indigo. Contrast is 14.04:1 on white and 1.5:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#400a70
RGBrgb(64 10 112)
RGB (legacy)rgb(64, 10, 112)
RGB %rgb(25% 4% 44%)
HSLhsl(272 84% 24%)
HSV / HSBhsv(272, 91%, 44%)
HWBhwb(272 4% 56%)
CMYKcmyk(43%, 91%, 0%, 56%)
CIELAB (D50)lab(17.18 39.24 -47)
LCHlch(17.18 61.23 309.86)
OKLaboklab(0.3117 0.0788 -0.1322)
OKLCHoklch(0.3117 0.1539 300.81)
Decimal4196976

Properties

Color TonePurple, Crimson, Magenta
Closest named colorindigo ΔE 3.7
Closest web-safe color#330066
Hue272°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)24%
Brightness or Value (HSV)44%
Luminance (Rec.601 / Rec.709)15% / 11%
Relative luminance (WCAG)0.0248
Red / Green / Blue64 / 10 / 112

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.50: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 99.6 / 0 · As background with white / black text: Lc -102.8 / 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: #400a70;
  --color-brand-oklch: oklch(31.17% 0.1539 300.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 112 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400a70] text-[#400a70] border-[#400a70]">