#4928A4#4928A4

#4928A4 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.184 H 287.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4928A4
RGBrgb(73, 40, 164)
HSLhsl(256, 61%, 40%)
HSVhsv(256, 76%, 64%)
CMYKcmyk(55.5%, 75.6%, 0%, 35.7%)
CIE-LABlab(28.42, 46.20, -61.28)
CIE-LCHlch(28.42, 76.74, 307.01°)
OKLaboklab(40.35% 0.0543 -0.1763)
OKLCHoklch(40.35% 0.184 287.1)
XYZxyz(10.2053, 5.6138, 35.6606)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4928A4 #83A428
analogous
#2845A4 #4928A4 #8728A4
triadic
#4928A4 #A44928 #28A449
tetradic
#4928A4 #A42845 #83A428 #28A487
square
#4928A4 #A42845 #83A428 #28A487
split-complementary
#4928A4 #A48728 #45A428
monochromatic
#1D1042 #331C73 #4928A4 #623ACF #896BDB

Accessibility & contrast

On white

9.89
#4928A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4928A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4928A4
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4928A4#FFFFFF#000000##FFFFFF
##4928A41.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#224A64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4928a4;
/* rgb */ color: rgb(73, 40, 164);
/* oklch */ color: oklch(40.4% 0.184 287.1);
Tailwind
colors: {
  custom: {
    50: '#8666c0',
    500: '#4928a4',
    950: '#000000',
  },
}
SCSS
$custom: #4928a4;
$custom-light: #8666c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4928a4",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 255.968,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.18449,
    "h": 287.1
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#4928A4
secondary
#A9C166
accent
#E444B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4928A4

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

Preview Lab → · Contrast checker → · Palette generator →

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