#640468

A color in the Purple, Crimson, Magenta family

#640468 is a color in the Purple, Crimson, Magenta family: RGB(100, 4, 104), HSL(298°, 93%, 21%), CMYK(4%, 96%, 0%, 59%). Closest named color: purple. Contrast is 11.94:1 on white and 1.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#640468
RGBrgb(100 4 104)
RGB (legacy)rgb(100, 4, 104)
RGB %rgb(39% 2% 41%)
HSLhsl(298 93% 21%)
HSV / HSBhsv(298, 96%, 41%)
HWBhwb(298 2% 59%)
CMYKcmyk(4%, 96%, 0%, 59%)
CIELAB (D50)lab(22.87 46.7 -32.21)
LCHlch(22.87 56.73 325.4)
OKLaboklab(0.358 0.1351 -0.0901)
OKLCHoklch(0.358 0.1624 326.31)
Decimal6554728

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 7
Closest web-safe color#660066
Hue298°
Saturation (HSL / HSV)93% / 96%
Lightness (HSL)21%
Brightness or Value (HSV)41%
Luminance (Rec.601 / Rec.709)17% / 12%
Relative luminance (WCAG)0.038
Red / Green / Blue100 / 4 / 104

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.94:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.76: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 95.6 / 0 · As background with white / black text: Lc -99.4 / 8.3

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: #640468;
  --color-brand-oklch: oklch(35.8% 0.1624 326.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(100 4 104 / 50%); }
/* Tailwind CSS */
<div class="bg-[#640468] text-[#640468] border-[#640468]">