#4820C8#4820C8

#4820C8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.232 H 281.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4820C8
RGBrgb(72, 32, 200)
HSLhsl(254, 72%, 45%)
HSVhsv(254, 84%, 78%)
CMYKcmyk(64%, 84%, 0%, 21.6%)
CIE-LABlab(30.83, 59.73, -78.72)
CIE-LCHlch(30.83, 98.82, 307.19°)
OKLaboklab(43.11% 0.0462 -0.2271)
OKLCHoklch(43.11% 0.232 281.5)
XYZxyz(13.6110, 6.5798, 55.1852)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820C8 #A0C820
analogous
#204CC8 #4820C8 #9C20C8
triadic
#4820C8 #C84820 #20C848
tetradic
#4820C8 #C8204C #A0C820 #20C89C
square
#4820C8 #C8204C #A0C820 #20C89C
split-complementary
#4820C8 #C89C20 #4CC820
monochromatic
#220F5E #351893 #4820C8 #6944E1 #9479EA

Accessibility & contrast

On white

9.07
#4820C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4820C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820C8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820C8#FFFFFF#000000##FFFFFF
##4820C81.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECC
Deuteranopia (green-blind)
#0042C5
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4820c8;
/* rgb */ color: rgb(72, 32, 200);
/* oklch */ color: oklch(43.1% 0.232 281.5);
Tailwind
colors: {
  custom: {
    50: '#8c64da',
    500: '#4820c8',
    950: '#000000',
  },
}
SCSS
$custom: #4820c8;
$custom-light: #8c64da;
$custom-dark: #000000;
JSON
{
  "hex": "#4820c8",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 200
  },
  "hsl": {
    "h": 254.286,
    "s": 72.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.23177,
    "h": 281.5
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#4820C8
secondary
#BBD173
accent
#EF39C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4820C8

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

Preview Lab → · Contrast checker → · Palette generator →

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