#6C19C6

A color in the Violet family

#6c19c6 is a color in the Violet family: RGB(108, 25, 198), HSL(269°, 78%, 44%), CMYK(45%, 87%, 0%, 22%). Closest named color: blueviolet. Contrast is 8.1:1 on white and 2.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#6c19c6
RGBrgb(108 25 198)
RGB (legacy)rgb(108, 25, 198)
RGB %rgb(42% 10% 78%)
HSLhsl(269 78% 44%)
HSV / HSBhsv(269, 87%, 78%)
HWBhwb(269 10% 22%)
CMYKcmyk(45%, 87%, 0%, 22%)
CIELAB (D50)lab(32.82 58.41 -73.75)
LCHlch(32.82 94.08 308.38)
OKLaboklab(0.4606 0.1063 -0.2074)
OKLCHoklch(0.4606 0.2331 297.13)
Decimal7084486

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 7.7
Closest web-safe color#6600cc
Hue269°
Saturation (HSL / HSV)78% / 87%
Lightness (HSL)44%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)27% / 22%
Relative luminance (WCAG)0.0796
Red / Green / Blue108 / 25 / 198

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.59: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 86.4 / -15.6 · As background with white / black text: Lc -91.2 / 17.6

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: #6c19c6;
  --color-brand-oklch: oklch(46.06% 0.2331 297.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 25 198 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6c19c6] text-[#6c19c6] border-[#6c19c6]">