#4820CA#4820CA

#4820CA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.234 H 281.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4820CA
RGBrgb(72, 32, 202)
HSLhsl(254, 73%, 46%)
HSVhsv(254, 84%, 79%)
CMYKcmyk(64.4%, 84.2%, 0%, 20.8%)
CIE-LABlab(31.05, 60.28, -79.52)
CIE-LCHlch(31.05, 99.78, 307.16°)
OKLaboklab(43.32% 0.0455 -0.2294)
OKLCHoklch(43.32% 0.234 281.2)
XYZxyz(13.8463, 6.6739, 56.4242)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820CA #A2CA20
analogous
#204DCA #4820CA #9D20CA
triadic
#4820CA #CA4820 #20CA48
tetradic
#4820CA #CA204D #A2CA20 #20CA9D
square
#4820CA #CA204D #A2CA20 #20CA9D
split-complementary
#4820CA #CA9D20 #4DCA20
monochromatic
#220F60 #351895 #4820CA #6A46E2 #957AEA

Accessibility & contrast

On white

8.99
#4820CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4820CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820CA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820CA#FFFFFF#000000##FFFFFF
##4820CA1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005779
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4820ca;
/* rgb */ color: rgb(72, 32, 202);
/* oklch */ color: oklch(43.3% 0.234 281.2);
Tailwind
colors: {
  custom: {
    50: '#8d64dc',
    500: '#4820ca',
    950: '#000000',
  },
}
SCSS
$custom: #4820ca;
$custom-light: #8d64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4820ca",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 202
  },
  "hsl": {
    "h": 254.118,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.23391,
    "h": 281.2
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#4820CA
secondary
#BCD274
accent
#EF38C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4820CA

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

Preview Lab → · Contrast checker → · Palette generator →

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