#4820AE#4820AE

#4820AE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.203 H 285.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4820AE
RGBrgb(72, 32, 174)
HSLhsl(257, 69%, 40%)
HSVhsv(257, 82%, 68%)
CMYKcmyk(58.6%, 81.6%, 0%, 31.8%)
CIE-LABlab(28.02, 52.62, -67.96)
CIE-LCHlch(28.02, 85.95, 307.75°)
OKLaboklab(40.35% 0.0551 -0.1958)
OKLCHoklch(40.35% 0.203 285.7)
XYZxyz(10.8267, 5.4661, 40.5207)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820AE #86AE20
analogous
#203FAE #4820AE #8F20AE
triadic
#4820AE #AE4820 #20AE48
tetradic
#4820AE #AE203F #86AE20 #20AE8F
square
#4820AE #AE203F #86AE20 #20AE8F
split-complementary
#4820AE #AE8F20 #3FAE20
monochromatic
#1D0D47 #33167A #4820AE #6132D9 #8966E3

Accessibility & contrast

On white

10.03
#4820AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4820AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820AE
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820AE#FFFFFF#000000##FFFFFF
##4820AE1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#0F4B68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4820ae;
/* rgb */ color: rgb(72, 32, 174);
/* oklch */ color: oklch(40.4% 0.203 285.7);
Tailwind
colors: {
  custom: {
    50: '#8862c7',
    500: '#4820ae',
    950: '#000000',
  },
}
SCSS
$custom: #4820ae;
$custom-light: #8862c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4820ae",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 256.901,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.2034,
    "h": 285.7
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#4820AE
secondary
#ABC862
accent
#EC3CBA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4820AE

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

Preview Lab → · Contrast checker → · Palette generator →

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