#4820C3#4820C3

#4820C3 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.6% C 0.226 H 282.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4820C3
RGBrgb(72, 32, 195)
HSLhsl(255, 72%, 45%)
HSVhsv(255, 84%, 76%)
CMYKcmyk(63.1%, 83.6%, 0%, 23.5%)
CIE-LABlab(30.28, 58.38, -76.70)
CIE-LCHlch(30.28, 96.39, 307.28°)
OKLaboklab(42.57% 0.0479 -0.2212)
OKLCHoklch(42.57% 0.226 282.2)
XYZxyz(13.0362, 6.3499, 52.1579)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4820C3 #9BC320
analogous
#204AC3 #4820C3 #9A20C3
triadic
#4820C3 #C34820 #20C348
tetradic
#4820C3 #C3204A #9BC320 #20C39A
square
#4820C3 #C3204A #9BC320 #20C39A
split-complementary
#4820C3 #C39A20 #4AC320
monochromatic
#210F5A #35178E #4820C3 #6840E0 #9175E8

Accessibility & contrast

On white

9.25
#4820C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4820C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4820C3
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4820C3#FFFFFF#000000##FFFFFF
##4820C31.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4820c3;
/* rgb */ color: rgb(72, 32, 195);
/* oklch */ color: oklch(42.6% 0.226 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b64d7',
    500: '#4820c3',
    950: '#000000',
  },
}
SCSS
$custom: #4820c3;
$custom-light: #8b64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4820c3",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 254.724,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42568,
    "c": 0.22637,
    "h": 282.2
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#4820C3
secondary
#B8CF6F
accent
#EF39C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4820C3

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

Preview Lab → · Contrast checker → · Palette generator →

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