#4819B4#4819B4

#4819B4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.215 H 285.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4819B4
RGBrgb(72, 25, 180)
HSLhsl(258, 76%, 40%)
HSVhsv(258, 86%, 71%)
CMYKcmyk(60%, 86.1%, 0%, 29.4%)
CIE-LABlab(27.76, 56.93, -71.99)
CIE-LCHlch(27.76, 91.78, 308.34°)
OKLaboklab(40.36% 0.0565 -0.2074)
OKLCHoklch(40.36% 0.215 285.2)
XYZxyz(11.2558, 5.3676, 43.6141)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4819B4 #85B419
analogous
#1937B4 #4819B4 #9619B4
triadic
#4819B4 #B44819 #19B448
tetradic
#4819B4 #B41937 #85B419 #19B496
square
#4819B4 #B41937 #85B419 #19B496
split-complementary
#4819B4 #B49619 #37B419
monochromatic
#1D0A49 #33127E #4819B4 #6129E1 #895FE9

Accessibility & contrast

On white

10.13
#4819B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4819B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4819B4
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4819B4#FFFFFF#000000##FFFFFF
##4819B41.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4819b4;
/* rgb */ color: rgb(72, 25, 180);
/* oklch */ color: oklch(40.4% 0.215 285.2);
Tailwind
colors: {
  custom: {
    50: '#895fcc',
    500: '#4819b4',
    950: '#000000',
  },
}
SCSS
$custom: #4819b4;
$custom-light: #895fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4819b4",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 258.194,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.21499,
    "h": 285.2
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#4819B4
secondary
#ABCD5C
accent
#F236B9
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4819B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4819B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva