#4828AE#4828AE

#4828AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.196 H 284.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4828AE
RGBrgb(72, 40, 174)
HSLhsl(254, 63%, 42%)
HSVhsv(254, 77%, 68%)
CMYKcmyk(58.6%, 77%, 0%, 31.8%)
CIE-LABlab(29.29, 48.97, -65.87)
CIE-LCHlch(29.29, 82.08, 306.62°)
OKLaboklab(41.23% 0.0501 -0.1898)
OKLCHoklch(41.23% 0.196 284.8)
XYZxyz(11.0689, 5.9506, 40.6015)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828AE #8EAE28
analogous
#284BAE #4828AE #8B28AE
triadic
#4828AE #AE4828 #28AE48
tetradic
#4828AE #AE284B #8EAE28 #28AE8B
square
#4828AE #AE284B #8EAE28 #28AE8B
split-complementary
#4828AE #AE8B28 #4BAE28
monochromatic
#1F114A #331D7C #4828AE #6340D3 #8C72DF

Accessibility & contrast

On white

9.59
#4828AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4828AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828AE
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828AE#FFFFFF#000000##FFFFFF
##4828AE1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#0D4E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4828ae;
/* rgb */ color: rgb(72, 40, 174);
/* oklch */ color: oklch(41.2% 0.196 284.8);
Tailwind
colors: {
  custom: {
    50: '#8766c7',
    500: '#4828ae',
    950: '#000000',
  },
}
SCSS
$custom: #4828ae;
$custom-light: #8766c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4828ae",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 254.328,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.19628,
    "h": 284.8
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#4828AE
secondary
#B0C66C
accent
#E642BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4828AE

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

Preview Lab → · Contrast checker → · Palette generator →

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