#4827AE#4827AE

#4827AE is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.197 H 284.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4827AE
RGBrgb(72, 39, 174)
HSLhsl(255, 63%, 42%)
HSVhsv(255, 78%, 68%)
CMYKcmyk(58.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(29.12, 49.45, -66.15)
CIE-LCHlch(29.12, 82.59, 306.78°)
OKLaboklab(41.11% 0.0508 -0.1906)
OKLCHoklch(41.11% 0.197 284.9)
XYZxyz(11.0357, 5.8841, 40.5904)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827AE #8DAE27
analogous
#2749AE #4827AE #8C27AE
triadic
#4827AE #AE4827 #27AE48
tetradic
#4827AE #AE2749 #8DAE27 #27AE8C
square
#4827AE #AE2749 #8DAE27 #27AE8C
split-complementary
#4827AE #AE8C27 #49AE27
monochromatic
#1F114A #331C7C #4827AE #633ED4 #8B70DF

Accessibility & contrast

On white

9.65
#4827AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4827AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827AE
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827AE#FFFFFF#000000##FFFFFF
##4827AE1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4827ae;
/* rgb */ color: rgb(72, 39, 174);
/* oklch */ color: oklch(41.1% 0.197 284.9);
Tailwind
colors: {
  custom: {
    50: '#8766c7',
    500: '#4827ae',
    950: '#000000',
  },
}
SCSS
$custom: #4827ae;
$custom-light: #8766c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4827ae",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 254.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.19723,
    "h": 284.9
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#4827AE
secondary
#B0C66B
accent
#E641BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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