#6C19CB

A color in the Violet family

#6c19cb is a color in the Violet family: RGB(108, 25, 203), HSL(268°, 78%, 45%), CMYK(47%, 88%, 0%, 20%). Closest named color: blueviolet. Contrast is 7.96:1 on white and 2.64:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6c19cb
RGBrgb(108 25 203)
RGB (legacy)rgb(108, 25, 203)
RGB %rgb(42% 10% 80%)
HSLhsl(268 78% 45%)
HSV / HSBhsv(268, 88%, 80%)
HWBhwb(268 10% 20%)
CMYKcmyk(47%, 88%, 0%, 20%)
CIELAB (D50)lab(33.25 59.33 -75.97)
LCHlch(33.25 96.39 307.99)
OKLaboklab(0.4654 0.1043 -0.2136)
OKLCHoklch(0.4654 0.2377 296.03)
Decimal7084491

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 7.3
Closest web-safe color#6600cc
Hue268°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)45%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)27% / 22%
Relative luminance (WCAG)0.082
Red / Green / Blue108 / 25 / 203

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.96:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.64: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 / -16.1 · As background with white / black text: Lc -90.8 / 18.1

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