#6C01AC

A color in the Purple, Crimson, Magenta family

#6c01ac is a color in the Purple, Crimson, Magenta family: RGB(108, 1, 172), HSL(278°, 99%, 34%), CMYK(37%, 99%, 0%, 33%). Closest named color: purple. Contrast is 9.38:1 on white and 2.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6c01ac
RGBrgb(108 1 172)
RGB (legacy)rgb(108, 1, 172)
RGB %rgb(42% 0% 67%)
HSLhsl(278 99% 34%)
HSV / HSBhsv(278, 99%, 67%)
HWBhwb(278 0% 33%)
CMYKcmyk(37%, 99%, 0%, 33%)
CIELAB (D50)lab(29.05 58.54 -64.54)
LCHlch(29.05 87.13 312.2)
OKLaboklab(0.4258 0.1259 -0.1814)
OKLCHoklch(0.4258 0.2208 304.75)
Decimal7078316

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 8.9
Closest web-safe color#660099
Hue278°
Saturation (HSL / HSV)99% / 99%
Lightness (HSL)34%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)21% / 14%
Relative luminance (WCAG)0.0619
Red / Green / Blue108 / 1 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.38:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.24: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 89.5 / -12.8 · As background with white / black text: Lc -94 / 14.5

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: #6c01ac;
  --color-brand-oklch: oklch(42.58% 0.2208 304.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 1 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6c01ac] text-[#6c01ac] border-[#6c01ac]">