#4C19CC

A color in the Violet family

#4c19cc is a color in the Violet family: RGB(76, 25, 204), HSL(257°, 78%, 45%), CMYK(63%, 88%, 0%, 20%). Closest named color: mediumblue. Contrast is 9.06:1 on white and 2.32:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c19cc
RGBrgb(76 25 204)
RGB (legacy)rgb(76, 25, 204)
RGB %rgb(30% 10% 80%)
HSLhsl(257 78% 45%)
HSV / HSBhsv(257, 88%, 80%)
HWBhwb(257 10% 20%)
CMYKcmyk(63%, 88%, 0%, 20%)
CIELAB (D50)lab(29.32 55.4 -83.19)
LCHlch(29.32 99.95 303.66)
OKLaboklab(0.4335 0.0535 -0.2336)
OKLCHoklch(0.4335 0.2396 282.9)
Decimal4987340

Properties

Color ToneViolet
Closest named colormediumblue ΔE 10
Closest web-safe color#3300cc
Hue257°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)45%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)24% / 19%
Relative luminance (WCAG)0.0659
Red / Green / Blue76 / 25 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.32: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.1 / -13.1 · As background with white / black text: Lc -93.7 / 14.9

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