#4A19A0#4A19A0

#4A19A0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.194 H 290.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4A19A0
RGBrgb(74, 25, 160)
HSLhsl(262, 73%, 36%)
HSVhsv(262, 84%, 63%)
CMYKcmyk(53.7%, 84.4%, 0%, 37.3%)
CIE-LABlab(25.83, 51.87, -63.11)
CIE-LCHlch(25.83, 81.69, 309.42°)
OKLaboklab(38.46% 0.0674 -0.1815)
OKLCHoklch(38.46% 0.194 290.4)
XYZxyz(9.5150, 4.6887, 33.6546)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A19A0 #6FA019
analogous
#192CA0 #4A19A0 #8E19A0
triadic
#4A19A0 #A04A19 #19A04A
tetradic
#4A19A0 #A0192C #6FA019 #19A08E
square
#4A19A0 #A0192C #6FA019 #19A08E
split-complementary
#4A19A0 #A08E19 #2CA019
monochromatic
#190836 #32116B #4A19A0 #6221D5 #8550E4

Accessibility & contrast

On white

10.84
#4A19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A19A0
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A19A0#FFFFFF#000000##FFFFFF
##4A19A01.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a19a0;
/* rgb */ color: rgb(74, 25, 160);
/* oklch */ color: oklch(38.5% 0.194 290.4);
Tailwind
colors: {
  custom: {
    50: '#875ebd',
    500: '#4a19a0',
    950: '#000000',
  },
}
SCSS
$custom: #4a19a0;
$custom-light: #875ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a19a0",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 261.778,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.19359,
    "h": 290.4
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#4A19A0
secondary
#9BC64F
accent
#F038AD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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