#4928B5#4928B5

#4928B5 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.0% C 0.204 H 284.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4928B5
RGBrgb(73, 40, 181)
HSLhsl(254, 64%, 43%)
HSVhsv(254, 78%, 71%)
CMYKcmyk(59.7%, 77.9%, 0%, 29%)
CIE-LABlab(30.08, 51.11, -68.74)
CIE-LCHlch(30.08, 85.66, 306.63°)
OKLaboklab(42.02% 0.0496 -0.1981)
OKLCHoklch(42.02% 0.204 284.1)
XYZxyz(11.8444, 6.2695, 44.2931)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4928B5 #94B528
analogous
#284DB5 #4928B5 #8F28B5
triadic
#4928B5 #B54928 #28B549
tetradic
#4928B5 #B5284D #94B528 #28B58F
square
#4928B5 #B5284D #94B528 #28B58F
split-complementary
#4928B5 #B58F28 #4DB528
monochromatic
#211251 #351D83 #4928B5 #6644D6 #8F77E1

Accessibility & contrast

On white

9.32
#4928B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4928B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4928B5
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4928B5#FFFFFF#000000##FFFFFF
##4928B51.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4928b5;
/* rgb */ color: rgb(73, 40, 181);
/* oklch */ color: oklch(42.0% 0.204 284.1);
Tailwind
colors: {
  custom: {
    50: '#8967cc',
    500: '#4928b5',
    950: '#000000',
  },
}
SCSS
$custom: #4928b5;
$custom-light: #8967cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4928b5",
  "rgb": {
    "r": 73,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 254.043,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.20423,
    "h": 284.1
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#4928B5
secondary
#B4C870
accent
#E741C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4928B5

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

Preview Lab → · Contrast checker → · Palette generator →

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