#4822A4#4822A4

#4822A4 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.190 H 287.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4822A4
RGBrgb(72, 34, 164)
HSLhsl(258, 66%, 39%)
HSVhsv(258, 79%, 64%)
CMYKcmyk(56.1%, 79.3%, 0%, 35.7%)
CIE-LABlab(27.30, 48.95, -63.12)
CIE-LCHlch(27.30, 79.88, 307.80°)
OKLaboklab(39.55% 0.0571 -0.1817)
OKLCHoklch(39.55% 0.19 287.5)
XYZxyz(9.9434, 5.2016, 35.5948)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822A4 #7EA422
analogous
#223DA4 #4822A4 #8922A4
triadic
#4822A4 #A44822 #22A448
tetradic
#4822A4 #A4223D #7EA422 #22A489
square
#4822A4 #A4223D #7EA422 #22A489
split-complementary
#4822A4 #A48922 #3DA422
monochromatic
#1B0D3F #321771 #4822A4 #5F2FD4 #8662DE

Accessibility & contrast

On white

10.29
#4822A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4822A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822A4
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822A4#FFFFFF#000000##FFFFFF
##4822A41.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#1F4863
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4822a4;
/* rgb */ color: rgb(72, 34, 164);
/* oklch */ color: oklch(39.5% 0.190 287.5);
Tailwind
colors: {
  custom: {
    50: '#8662c0',
    500: '#4822a4',
    950: '#000000',
  },
}
SCSS
$custom: #4822a4;
$custom-light: #8662c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4822a4",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 257.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.19044,
    "h": 287.5
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#4822A4
secondary
#A6C45E
accent
#E93FB7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4822A4

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

Preview Lab → · Contrast checker → · Palette generator →

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