#4820B1#4820B1

#4820B1 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.207 H 285.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4820B1
RGBrgb(72, 32, 177)
HSLhsl(257, 69%, 41%)
HSVhsv(257, 82%, 69%)
CMYKcmyk(59.3%, 81.9%, 0%, 30.6%)
CIE-LABlab(28.34, 53.45, -69.23)
CIE-LCHlch(28.34, 87.46, 307.67°)
OKLaboklab(40.66% 0.0541 -0.1995)
OKLCHoklch(40.66% 0.207 285.2)
XYZxyz(11.1224, 5.5844, 42.0783)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820B1 #89B120
analogous
#2040B1 #4820B1 #9020B1
triadic
#4820B1 #B14820 #20B148
tetradic
#4820B1 #B12040 #89B120 #20B190
square
#4820B1 #B12040 #89B120 #20B190
split-complementary
#4820B1 #B19020 #40B120
monochromatic
#1E0D49 #33177D #4820B1 #6234DA #8A68E4

Accessibility & contrast

On white

9.92
#4820B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4820B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820B1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820B1#FFFFFF#000000##FFFFFF
##4820B11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#054D6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4820b1;
/* rgb */ color: rgb(72, 32, 177);
/* oklch */ color: oklch(40.7% 0.207 285.2);
Tailwind
colors: {
  custom: {
    50: '#8862ca',
    500: '#4820b1',
    950: '#000000',
  },
}
SCSS
$custom: #4820b1;
$custom-light: #8862ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4820b1",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 256.552,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.20671,
    "h": 285.2
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#4820B1
secondary
#ADC964
accent
#EC3CBB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4820B1

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

Preview Lab → · Contrast checker → · Palette generator →

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