#400AAC

A color in the Violet family

#400aac is a color in the Violet family: RGB(64, 10, 172), HSL(260°, 89%, 36%), CMYK(63%, 94%, 0%, 33%). Closest named color: indigo. Contrast is 11.31:1 on white and 1.86:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#400aac
RGBrgb(64 10 172)
RGB (legacy)rgb(64, 10, 172)
RGB %rgb(25% 4% 67%)
HSLhsl(260 89% 36%)
HSV / HSBhsv(260, 94%, 67%)
HWBhwb(260 4% 33%)
CMYKcmyk(63%, 94%, 0%, 33%)
CIELAB (D50)lab(23.2 51.4 -74.46)
LCHlch(23.2 90.48 304.62)
OKLaboklab(0.3775 0.0518 -0.2088)
OKLCHoklch(0.3775 0.2151 283.94)
Decimal4197036

Properties

Color ToneViolet
Closest named colorindigo ΔE 8
Closest web-safe color#330099
Hue260°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)36%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)17% / 13%
Relative luminance (WCAG)0.0429
Red / Green / Blue64 / 10 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.31:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.86: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 94.1 / -8.4 · As background with white / black text: Lc -98.1 / 9.8

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: #400aac;
  --color-brand-oklch: oklch(37.75% 0.2151 283.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400aac] text-[#400aac] border-[#400aac]">