#4820B3#4820B3

#4820B3 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.209 H 284.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4820B3
RGBrgb(72, 32, 179)
HSLhsl(256, 70%, 41%)
HSVhsv(256, 82%, 70%)
CMYKcmyk(59.8%, 82.1%, 0%, 29.8%)
CIE-LABlab(28.55, 54.00, -70.08)
CIE-LCHlch(28.55, 88.47, 307.62°)
OKLaboklab(40.87% 0.0534 -0.202)
OKLCHoklch(40.87% 0.209 284.8)
XYZxyz(11.3232, 5.6647, 43.1358)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820B3 #8BB320
analogous
#2041B3 #4820B3 #9220B3
triadic
#4820B3 #B34820 #20B348
tetradic
#4820B3 #B32041 #8BB320 #20B392
square
#4820B3 #B32041 #8BB320 #20B392
split-complementary
#4820B3 #B39220 #41B320
monochromatic
#1E0D4B #33177F #4820B3 #6235DB #8B69E4

Accessibility & contrast

On white

9.85
#4820B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4820B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820B3
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820B3#FFFFFF#000000##FFFFFF
##4820B31.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4820b3;
/* rgb */ color: rgb(72, 32, 179);
/* oklch */ color: oklch(40.9% 0.209 284.8);
Tailwind
colors: {
  custom: {
    50: '#8962cb',
    500: '#4820b3',
    950: '#000000',
  },
}
SCSS
$custom: #4820b3;
$custom-light: #8962cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4820b3",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 256.327,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.20892,
    "h": 284.8
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#4820B3
secondary
#AECA65
accent
#EC3BBC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4820B3

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

Preview Lab → · Contrast checker → · Palette generator →

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