#4820A1#4820A1

#4820A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.189 H 288.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4820A1
RGBrgb(72, 32, 161)
HSLhsl(259, 67%, 38%)
HSVhsv(259, 80%, 63%)
CMYKcmyk(55.3%, 80.1%, 0%, 36.9%)
CIE-LABlab(26.69, 49.02, -62.31)
CIE-LCHlch(26.69, 79.28, 308.19°)
OKLaboklab(39.03% 0.0594 -0.1793)
OKLCHoklch(39.03% 0.189 288.3)
XYZxyz(9.6201, 4.9835, 34.1663)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820A1 #79A120
analogous
#2038A1 #4820A1 #8920A1
triadic
#4820A1 #A14820 #20A148
tetradic
#4820A1 #A12038 #79A120 #20A189
square
#4820A1 #A12038 #79A120 #20A189
split-complementary
#4820A1 #A18920 #38A120
monochromatic
#1A0C3B #31166E #4820A1 #5F2AD4 #855DDF

Accessibility & contrast

On white

10.52
#4820A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4820A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820A1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820A1#FFFFFF#000000##FFFFFF
##4820A11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#234661
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4820a1;
/* rgb */ color: rgb(72, 32, 161);
/* oklch */ color: oklch(39.0% 0.189 288.3);
Tailwind
colors: {
  custom: {
    50: '#8661be',
    500: '#4820a1',
    950: '#000000',
  },
}
SCSS
$custom: #4820a1;
$custom-light: #8661be;
$custom-dark: #000000;
JSON
{
  "hex": "#4820a1",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 258.605,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.18889,
    "h": 288.3
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#4820A1
secondary
#A2C35A
accent
#EA3EB5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4820A1

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

Preview Lab → · Contrast checker → · Palette generator →

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