#4820A5#4820A5

#4820A5 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.193 H 287.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4820A5
RGBrgb(72, 32, 165)
HSLhsl(258, 68%, 39%)
HSVhsv(258, 81%, 65%)
CMYKcmyk(56.4%, 80.6%, 0%, 35.3%)
CIE-LABlab(27.09, 50.13, -64.07)
CIE-LCHlch(27.09, 81.35, 308.04°)
OKLaboklab(39.43% 0.0581 -0.1844)
OKLCHoklch(39.43% 0.193 287.5)
XYZxyz(9.9785, 5.1268, 36.0538)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820A5 #7DA520
analogous
#203AA5 #4820A5 #8A20A5
triadic
#4820A5 #A54820 #20A548
tetradic
#4820A5 #A5203A #7DA520 #20A58A
square
#4820A5 #A5203A #7DA520 #20A58A
split-complementary
#4820A5 #A58A20 #3AA520
monochromatic
#1B0C3E #321672 #4820A5 #5F2CD6 #865FE0

Accessibility & contrast

On white

10.37
#4820A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4820A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820A5
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820A5#FFFFFF#000000##FFFFFF
##4820A51.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#1E4763
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4820a5;
/* rgb */ color: rgb(72, 32, 165);
/* oklch */ color: oklch(39.4% 0.193 287.5);
Tailwind
colors: {
  custom: {
    50: '#8661c1',
    500: '#4820a5',
    950: '#000000',
  },
}
SCSS
$custom: #4820a5;
$custom-light: #8661c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4820a5",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 258.045,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.19338,
    "h": 287.5
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#4820A5
secondary
#A5C55C
accent
#EA3DB6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4820A5

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

Preview Lab → · Contrast checker → · Palette generator →

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