#4C19B1#4C19B1

#4C19B1 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.211 H 287.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4C19B1
RGBrgb(76, 25, 177)
HSLhsl(260, 75%, 40%)
HSVhsv(260, 86%, 69%)
CMYKcmyk(57.1%, 85.9%, 0%, 30.6%)
CIE-LABlab(27.86, 56.53, -70.01)
CIE-LCHlch(27.86, 89.98, 308.92°)
OKLaboklab(40.44% 0.0641 -0.2016)
OKLCHoklch(40.44% 0.212 287.6)
XYZxyz(11.2616, 5.4055, 42.0364)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C19B1 #7EB119
analogous
#1932B1 #4C19B1 #9819B1
triadic
#4C19B1 #B14C19 #19B14C
tetradic
#4C19B1 #B11932 #7EB119 #19B198
square
#4C19B1 #B11932 #7EB119 #19B198
split-complementary
#4C19B1 #B19819 #32B119
monochromatic
#1E0A46 #35117B #4C19B1 #6527E0 #8B5CE8

Accessibility & contrast

On white

10.09
#4C19B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C19B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C19B1
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C19B1#FFFFFF#000000##FFFFFF
##4C19B11.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#1C4A69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c19b1;
/* rgb */ color: rgb(76, 25, 177);
/* oklch */ color: oklch(40.4% 0.211 287.6);
Tailwind
colors: {
  custom: {
    50: '#8b60ca',
    500: '#4c19b1',
    950: '#000000',
  },
}
SCSS
$custom: #4c19b1;
$custom-light: #8b60ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c19b1",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 177
  },
  "hsl": {
    "h": 260.132,
    "s": 75.248,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.2115,
    "h": 287.6
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#4C19B1
secondary
#A6CC5A
accent
#F236B3
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0513
muted
#7E7982

Preview Lab

Preview with #4C19B1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4C19B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva