#4C19D7

A color in the Violet family

#4c19d7 is a color in the Violet family: RGB(76, 25, 215), HSL(256°, 79%, 47%), CMYK(65%, 88%, 0%, 16%). Closest named color: mediumblue. Contrast is 8.65:1 on white and 2.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4c19d7
RGBrgb(76 25 215)
RGB (legacy)rgb(76, 25, 215)
RGB %rgb(30% 10% 84%)
HSLhsl(256 79% 47%)
HSV / HSBhsv(256, 88%, 84%)
HWBhwb(256 10% 16%)
CMYKcmyk(65%, 88%, 0%, 16%)
CIELAB (D50)lab(30.46 57.75 -87.69)
LCHlch(30.46 105 303.37)
OKLaboklab(0.4456 0.0492 -0.246)
OKLCHoklch(0.4456 0.2509 281.32)
Decimal4987351

Properties

Color ToneViolet
Closest named colormediumblue ΔE 10
Closest web-safe color#3300cc
Hue256°
Saturation (HSL / HSV)79% / 88%
Lightness (HSL)47%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)24% / 19%
Relative luminance (WCAG)0.0714
Red / Green / Blue76 / 25 / 215

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.43: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 87.9 / -14.3 · As background with white / black text: Lc -92.5 / 16.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: #4c19d7;
  --color-brand-oklch: oklch(44.56% 0.2509 281.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 25 215 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c19d7] text-[#4c19d7] border-[#4c19d7]">