#4928AC#4928AC

#4928AC is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.194 H 285.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4928AC
RGBrgb(73, 40, 172)
HSLhsl(255, 62%, 42%)
HSVhsv(255, 77%, 67%)
CMYKcmyk(57.6%, 76.7%, 0%, 32.5%)
CIE-LABlab(29.19, 48.52, -64.83)
CIE-LCHlch(29.19, 80.97, 306.81°)
OKLaboklab(41.13% 0.0521 -0.1867)
OKLCHoklch(41.13% 0.194 285.6)
XYZxyz(10.9506, 5.9120, 39.5858)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4928AC #8BAC28
analogous
#2849AC #4928AC #8B28AC
triadic
#4928AC #AC4928 #28AC49
tetradic
#4928AC #AC2849 #8BAC28 #28AC8B
square
#4928AC #AC2849 #8BAC28 #28AC8B
split-complementary
#4928AC #AC8B28 #49AC28
monochromatic
#1F1149 #341C7A #4928AC #643FD2 #8C71DE

Accessibility & contrast

On white

9.62
#4928AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4928AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4928AC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4928AC#FFFFFF#000000##FFFFFF
##4928AC1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#164E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4928ac;
/* rgb */ color: rgb(73, 40, 172);
/* oklch */ color: oklch(41.1% 0.194 285.6);
Tailwind
colors: {
  custom: {
    50: '#8766c6',
    500: '#4928ac',
    950: '#000000',
  },
}
SCSS
$custom: #4928ac;
$custom-light: #8766c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4928ac",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 255,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.19385,
    "h": 285.6
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#4928AC
secondary
#AEC56B
accent
#E542BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4928AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4928AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva