#6C287C

A color in the Purple, Crimson, Magenta family

#6c287c is a color in the Purple, Crimson, Magenta family: RGB(108, 40, 124), HSL(289°, 51%, 32%), CMYK(13%, 68%, 0%, 51%). Closest named color: purple. Contrast is 9.41:1 on white and 2.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6c287c
RGBrgb(108 40 124)
RGB (legacy)rgb(108, 40, 124)
RGB %rgb(42% 16% 49%)
HSLhsl(289 51% 32%)
HSV / HSBhsv(289, 68%, 49%)
HWBhwb(289 16% 51%)
CMYKcmyk(13%, 68%, 0%, 51%)
CIELAB (D50)lab(29.61 40.17 -34.17)
LCHlch(29.61 52.74 319.61)
OKLaboklab(0.4136 0.1115 -0.0954)
OKLCHoklch(0.4136 0.1468 319.46)
Decimal7088252

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 5.4
Closest web-safe color#663366
Hue289°
Saturation (HSL / HSV)51% / 68%
Lightness (HSL)32%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)27% / 24%
Relative luminance (WCAG)0.0616
Red / Green / Blue108 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.23: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 91.1 / -11.3 · As background with white / black text: Lc -95.4 / 12.9

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: #6c287c;
  --color-brand-oklch: oklch(41.36% 0.1468 319.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6c287c] text-[#6c287c] border-[#6c287c]">