#4828A3#4828A3

#4828A3 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.183 H 286.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4828A3
RGBrgb(72, 40, 163)
HSLhsl(256, 61%, 40%)
HSVhsv(256, 75%, 64%)
CMYKcmyk(55.8%, 75.5%, 0%, 36.1%)
CIE-LABlab(28.22, 45.76, -61.00)
CIE-LCHlch(28.22, 76.26, 306.88°)
OKLaboklab(40.16% 0.053 -0.1755)
OKLCHoklch(40.16% 0.183 286.8)
XYZxyz(10.0402, 5.5391, 35.1833)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828A3 #83A328
analogous
#2845A3 #4828A3 #8628A3
triadic
#4828A3 #A34828 #28A348
tetradic
#4828A3 #A32845 #83A328 #28A386
square
#4828A3 #A32845 #83A328 #28A386
split-complementary
#4828A3 #A38628 #45A328
monochromatic
#1D1041 #321C72 #4828A3 #603ACF #886BDB

Accessibility & contrast

On white

9.96
#4828A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4828A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828A3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828A3#FFFFFF#000000##FFFFFF
##4828A31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#204A64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4828a3;
/* rgb */ color: rgb(72, 40, 163);
/* oklch */ color: oklch(40.2% 0.183 286.8);
Tailwind
colors: {
  custom: {
    50: '#8566bf',
    500: '#4828a3',
    950: '#000000',
  },
}
SCSS
$custom: #4828a3;
$custom-light: #8566bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4828a3",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 255.61,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.18338,
    "h": 286.8
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#4828A3
secondary
#A9C166
accent
#E444BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4828A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4828A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva