#4820A0#4820A0

#4820A0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.188 H 288.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4820A0
RGBrgb(72, 32, 160)
HSLhsl(259, 67%, 38%)
HSVhsv(259, 80%, 63%)
CMYKcmyk(55%, 80%, 0%, 37.3%)
CIE-LABlab(26.59, 48.74, -61.87)
CIE-LCHlch(26.59, 78.76, 308.23°)
OKLaboklab(38.93% 0.0598 -0.178)
OKLCHoklch(38.93% 0.188 288.6)
XYZxyz(9.5323, 4.9483, 33.7037)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820A0 #78A020
analogous
#2038A0 #4820A0 #8820A0
triadic
#4820A0 #A04820 #20A048
tetradic
#4820A0 #A02038 #78A020 #20A088
square
#4820A0 #A02038 #78A020 #20A088
split-complementary
#4820A0 #A08820 #38A020
monochromatic
#1A0C3A #31166D #4820A0 #5F2AD3 #855CDE

Accessibility & contrast

On white

10.55
#4820A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4820A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820A0
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820A0#FFFFFF#000000##FFFFFF
##4820A01.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#244560
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4820a0;
/* rgb */ color: rgb(72, 32, 160);
/* oklch */ color: oklch(38.9% 0.188 288.6);
Tailwind
colors: {
  custom: {
    50: '#8561bd',
    500: '#4820a0',
    950: '#000000',
  },
}
SCSS
$custom: #4820a0;
$custom-light: #8561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4820a0",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 258.75,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.18775,
    "h": 288.6
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#4820A0
secondary
#A2C359
accent
#EA3EB4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4820A0

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

Preview Lab → · Contrast checker → · Palette generator →

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