#4C19B3

A color in the Violet family

#4c19b3 is a color in the Violet family: RGB(76, 25, 179), HSL(260°, 75%, 40%), CMYK(58%, 86%, 0%, 30%). Closest named color: darkslateblue. Contrast is 10.01:1 on white and 2.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c19b3
RGBrgb(76 25 179)
RGB (legacy)rgb(76, 25, 179)
RGB %rgb(30% 10% 70%)
HSLhsl(260 75% 40%)
HSV / HSBhsv(260, 86%, 70%)
HWBhwb(260 10% 30%)
CMYKcmyk(58%, 86%, 0%, 30%)
CIELAB (D50)lab(26.84 50.06 -72.57)
LCHlch(26.84 88.16 304.6)
OKLaboklab(0.4065 0.0633 -0.204)
OKLCHoklch(0.4065 0.2136 287.24)
Decimal4987315

Properties

Color ToneViolet
Closest named colordarkslateblue ΔE 8.9
Closest web-safe color#3300cc
Hue260°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)40%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)23% / 18%
Relative luminance (WCAG)0.0549
Red / Green / Blue76 / 25 / 179

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.01:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.10: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 91.8 / -10.6 · As background with white / black text: Lc -96.1 / 12.2

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