#4822AE#4822AE

#4822AE is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.202 H 285.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4822AE
RGBrgb(72, 34, 174)
HSLhsl(256, 67%, 41%)
HSVhsv(256, 80%, 68%)
CMYKcmyk(58.6%, 80.5%, 0%, 31.8%)
CIE-LABlab(28.32, 51.76, -67.47)
CIE-LCHlch(28.32, 85.03, 307.49°)
OKLaboklab(40.56% 0.054 -0.1944)
OKLCHoklch(40.56% 0.202 285.5)
XYZxyz(10.8822, 5.5771, 40.5393)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822AE #88AE22
analogous
#2242AE #4822AE #8E22AE
triadic
#4822AE #AE4822 #22AE48
tetradic
#4822AE #AE2242 #88AE22 #22AE8E
square
#4822AE #AE2242 #88AE22 #22AE8E
split-complementary
#4822AE #AE8E22 #42AE22
monochromatic
#1E0E48 #33187B #4822AE #6236D8 #8A69E2

Accessibility & contrast

On white

9.93
#4822AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4822AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822AE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822AE#FFFFFF#000000##FFFFFF
##4822AE1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#0E4C69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4822ae;
/* rgb */ color: rgb(72, 34, 174);
/* oklch */ color: oklch(40.6% 0.202 285.5);
Tailwind
colors: {
  custom: {
    50: '#8863c7',
    500: '#4822ae',
    950: '#000000',
  },
}
SCSS
$custom: #4822ae;
$custom-light: #8863c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4822ae",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 256.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.20173,
    "h": 285.5
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#4822AE
secondary
#ADC764
accent
#EA3EBB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4822AE

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

Preview Lab → · Contrast checker → · Palette generator →

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