#4D19A0#4D19A0

#4D19A0 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.194 H 291.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4D19A0
RGBrgb(77, 25, 160)
HSLhsl(263, 73%, 36%)
HSVhsv(263, 84%, 63%)
CMYKcmyk(51.9%, 84.4%, 0%, 37.3%)
CIE-LABlab(26.19, 52.22, -62.50)
CIE-LCHlch(26.19, 81.45, 309.88°)
OKLaboklab(38.78% 0.0722 -0.1796)
OKLCHoklch(38.78% 0.194 291.9)
XYZxyz(9.7516, 4.8107, 33.6656)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D19A0 #6CA019
analogous
#1929A0 #4D19A0 #9119A0
triadic
#4D19A0 #A04D19 #19A04D
tetradic
#4D19A0 #A01929 #6CA019 #19A091
square
#4D19A0 #A01929 #6CA019 #19A091
split-complementary
#4D19A0 #A09119 #29A019
monochromatic
#1A0836 #34116B #4D19A0 #6621D5 #8950E4

Accessibility & contrast

On white

10.70
#4D19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D19A0
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D19A0#FFFFFF#000000##FFFFFF
##4D19A01.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#30425F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d19a0;
/* rgb */ color: rgb(77, 25, 160);
/* oklch */ color: oklch(38.8% 0.194 291.9);
Tailwind
colors: {
  custom: {
    50: '#895ebd',
    500: '#4d19a0',
    950: '#000000',
  },
}
SCSS
$custom: #4d19a0;
$custom-light: #895ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d19a0",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 263.111,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.19359,
    "h": 291.9
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#4D19A0
secondary
#98C64F
accent
#F038A9
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4D19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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