#6B00A8

A color in the Purple, Crimson, Magenta family

#6b00a8 is a color in the Purple, Crimson, Magenta family: RGB(107, 0, 168), HSL(278°, 100%, 33%), CMYK(36%, 100%, 0%, 34%). Closest named color: purple. Contrast is 9.59:1 on white and 2.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#6b00a8
RGBrgb(107 0 168)
RGB (legacy)rgb(107, 0, 168)
RGB %rgb(42% 0% 66%)
HSLhsl(278 100% 33%)
HSV / HSBhsv(278, 100%, 66%)
HWBhwb(278 0% 34%)
CMYKcmyk(36%, 100%, 0%, 34%)
CIELAB (D50)lab(28.5 57.92 -63.06)
LCHlch(28.5 85.62 312.57)
OKLaboklab(0.4204 0.1265 -0.1773)
OKLCHoklch(0.4204 0.2177 305.51)
Decimal7012520

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 8.5
Closest web-safe color#660099
Hue278°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)20% / 14%
Relative luminance (WCAG)0.0595
Red / Green / Blue107 / 0 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.19: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.9 / -12.3 · As background with white / black text: Lc -94.4 / 14

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: #6b00a8;
  --color-brand-oklch: oklch(42.04% 0.2177 305.51);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(107 0 168 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6b00a8] text-[#6b00a8] border-[#6b00a8]">