#4928B7#4928B7

#4928B7 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.2% C 0.207 H 283.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4928B7
RGBrgb(73, 40, 183)
HSLhsl(254, 64%, 44%)
HSVhsv(254, 78%, 72%)
CMYKcmyk(60.1%, 78.1%, 0%, 28.2%)
CIE-LABlab(30.28, 51.69, -69.60)
CIE-LCHlch(30.28, 86.69, 306.60°)
OKLaboklab(42.22% 0.049 -0.2006)
OKLCHoklch(42.22% 0.207 283.7)
XYZxyz(12.0511, 6.3521, 45.3816)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4928B7 #96B728
analogous
#284EB7 #4928B7 #9028B7
triadic
#4928B7 #B74928 #28B749
tetradic
#4928B7 #B7284E #96B728 #28B790
square
#4928B7 #B7284E #96B728 #28B790
split-complementary
#4928B7 #B79028 #4EB728
monochromatic
#211253 #351D85 #4928B7 #6746D6 #9078E1

Accessibility & contrast

On white

9.25
#4928B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4928B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4928B7
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4928B7#FFFFFF#000000##FFFFFF
##4928B71.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4928b7;
/* rgb */ color: rgb(73, 40, 183);
/* oklch */ color: oklch(42.2% 0.207 283.7);
Tailwind
colors: {
  custom: {
    50: '#8967ce',
    500: '#4928b7',
    950: '#000000',
  },
}
SCSS
$custom: #4928b7;
$custom-light: #8967ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4928b7",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 253.846,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.20652,
    "h": 283.7
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#4928B7
secondary
#B5C972
accent
#E741C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4928B7

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

Preview Lab → · Contrast checker → · Palette generator →

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