#7C19CC

A color in the Purple, Crimson, Magenta family

#7c19cc is a color in the Purple, Crimson, Magenta family: RGB(124, 25, 204), HSL(273°, 78%, 45%), CMYK(39%, 88%, 0%, 20%). Closest named color: darkviolet. Contrast is 7.32:1 on white and 2.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7c19cc
RGBrgb(124 25 204)
RGB (legacy)rgb(124, 25, 204)
RGB %rgb(49% 10% 80%)
HSLhsl(273 78% 45%)
HSV / HSBhsv(273, 88%, 80%)
HWBhwb(273 10% 20%)
CMYKcmyk(39%, 88%, 0%, 20%)
CIELAB (D50)lab(35.68 61.96 -72.46)
LCHlch(35.68 95.34 310.53)
OKLaboklab(0.4856 0.128 -0.2038)
OKLCHoklch(0.4856 0.2407 302.13)
Decimal8133068

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkviolet ΔE 4.9
Closest web-safe color#6600cc
Hue273°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)45%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)29% / 23%
Relative luminance (WCAG)0.0934
Red / Green / Blue124 / 25 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.32:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.87: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 83.8 / -18.2 · As background with white / black text: Lc -88.8 / 20.3

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: #7c19cc;
  --color-brand-oklch: oklch(48.56% 0.2407 302.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c19cc] text-[#7c19cc] border-[#7c19cc]">