#4A19A1#4A19A1

#4A19A1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.6% C 0.195 H 290.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4A19A1
RGBrgb(74, 25, 161)
HSLhsl(262, 73%, 36%)
HSVhsv(262, 84%, 63%)
CMYKcmyk(54%, 84.5%, 0%, 36.9%)
CIE-LABlab(25.93, 52.13, -63.54)
CIE-LCHlch(25.93, 82.19, 309.36°)
OKLaboklab(38.56% 0.067 -0.1827)
OKLCHoklch(38.56% 0.195 290.1)
XYZxyz(9.6028, 4.7239, 34.1171)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A19A1 #70A119
analogous
#192CA1 #4A19A1 #8E19A1
triadic
#4A19A1 #A14A19 #19A14A
tetradic
#4A19A1 #A1192C #70A119 #19A18E
square
#4A19A1 #A1192C #70A119 #19A18E
split-complementary
#4A19A1 #A18E19 #2CA119
monochromatic
#190937 #32116C #4A19A1 #6221D6 #8650E4

Accessibility & contrast

On white

10.80
#4A19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A19A1
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A19A1#FFFFFF#000000##FFFFFF
##4A19A11.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#28435F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a19a1;
/* rgb */ color: rgb(74, 25, 161);
/* oklch */ color: oklch(38.6% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#875ebe',
    500: '#4a19a1',
    950: '#000000',
  },
}
SCSS
$custom: #4a19a1;
$custom-light: #875ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a19a1",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 261.618,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.19465,
    "h": 290.1
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#4A19A1
secondary
#9CC64F
accent
#F038AE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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