#4822CA#4822CA

#4822CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.233 H 281.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4822CA
RGBrgb(72, 34, 202)
HSLhsl(254, 71%, 46%)
HSVhsv(254, 83%, 79%)
CMYKcmyk(64.4%, 83.2%, 0%, 20.8%)
CIE-LABlab(31.31, 59.51, -79.09)
CIE-LCHlch(31.31, 98.98, 306.96°)
OKLaboklab(43.5% 0.0447 -0.2282)
OKLCHoklch(43.5% 0.233 281.1)
XYZxyz(13.9018, 6.7850, 56.4427)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822CA #A4CA22
analogous
#2250CA #4822CA #9C22CA
triadic
#4822CA #CA4822 #22CA48
tetradic
#4822CA #CA2250 #A4CA22 #22CA9C
square
#4822CA #CA2250 #A4CA22 #22CA9C
split-complementary
#4822CA #CA9C22 #50CA22
monochromatic
#231061 #351996 #4822CA #6B49E0 #967DE9

Accessibility & contrast

On white

8.91
#4822CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4822CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822CA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822CA#FFFFFF#000000##FFFFFF
##4822CA1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4822ca;
/* rgb */ color: rgb(72, 34, 202);
/* oklch */ color: oklch(43.5% 0.233 281.1);
Tailwind
colors: {
  custom: {
    50: '#8d65dc',
    500: '#4822ca',
    950: '#000000',
  },
}
SCSS
$custom: #4822ca;
$custom-light: #8d65dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4822ca",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 253.571,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.23256,
    "h": 281.1
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#4822CA
secondary
#BDD177
accent
#EE3AC5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4822CA

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

Preview Lab → · Contrast checker → · Palette generator →

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