#4A19CA#4A19CA

#4A19CA is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.9% C 0.238 H 282.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4A19CA
RGBrgb(74, 25, 202)
HSLhsl(257, 78%, 45%)
HSVhsv(257, 88%, 79%)
CMYKcmyk(63.4%, 87.6%, 0%, 20.8%)
CIE-LABlab(30.43, 62.83, -80.54)
CIE-LCHlch(30.43, 102.15, 307.96°)
OKLaboklab(42.95% 0.0512 -0.2322)
OKLCHoklch(42.95% 0.238 282.4)
XYZxyz(13.8290, 6.4144, 56.3750)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A19CA #99CA19
analogous
#1941CA #4A19CA #A319CA
triadic
#4A19CA #CA4A19 #19CA4A
tetradic
#4A19CA #CA1941 #99CA19 #19CAA3
square
#4A19CA #CA1941 #99CA19 #19CAA3
split-complementary
#4A19CA #CAA319 #41CA19
monochromatic
#220C5D #361294 #4A19CA #6A3AE7 #9370ED

Accessibility & contrast

On white

9.20
#4A19CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4A19CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A19CA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A19CA#FFFFFF#000000##FFFFFF
##4A19CA1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DCF
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005578
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a19ca;
/* rgb */ color: rgb(74, 25, 202);
/* oklch */ color: oklch(42.9% 0.238 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e61dc',
    500: '#4a19ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a19ca;
$custom-light: #8e61dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a19ca",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 256.61,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.23782,
    "h": 282.4
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#4A19CA
secondary
#B7D46B
accent
#F433BF
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A19CA

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

Preview Lab → · Contrast checker → · Palette generator →

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