#4D19B4#4D19B4

#4D19B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.9% C 0.215 H 287.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4D19B4
RGBrgb(77, 25, 180)
HSLhsl(260, 76%, 40%)
HSVhsv(260, 86%, 71%)
CMYKcmyk(57.2%, 86.1%, 0%, 29.4%)
CIE-LABlab(28.29, 57.40, -71.08)
CIE-LCHlch(28.29, 91.36, 308.92°)
OKLaboklab(40.85% 0.0645 -0.2047)
OKLCHoklch(40.85% 0.215 287.5)
XYZxyz(11.6440, 5.5677, 43.6323)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D19B4 #80B419
analogous
#1932B4 #4D19B4 #9A19B4
triadic
#4D19B4 #B44D19 #19B44D
tetradic
#4D19B4 #B41932 #80B419 #19B49A
square
#4D19B4 #B41932 #80B419 #19B49A
split-complementary
#4D19B4 #B49A19 #32B419
monochromatic
#1F0A49 #36127E #4D19B4 #6729E1 #8D5FE9

Accessibility & contrast

On white

9.94
#4D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D19B4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D19B4#FFFFFF#000000##FFFFFF
##4D19B41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#1B4B6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d19b4;
/* rgb */ color: rgb(77, 25, 180);
/* oklch */ color: oklch(40.9% 0.215 287.5);
Tailwind
colors: {
  custom: {
    50: '#8c60cc',
    500: '#4d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #4d19b4;
$custom-light: #8c60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d19b4",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 260.129,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.21459,
    "h": 287.5
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#4D19B4
secondary
#A7CD5C
accent
#F236B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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