#4822A8#4822A8

#4822A8 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.195 H 286.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4822A8
RGBrgb(72, 34, 168)
HSLhsl(257, 66%, 40%)
HSVhsv(257, 80%, 66%)
CMYKcmyk(57.1%, 79.8%, 0%, 34.1%)
CIE-LABlab(27.70, 50.08, -64.87)
CIE-LCHlch(27.70, 81.95, 307.67°)
OKLaboklab(39.95% 0.0559 -0.1868)
OKLCHoklch(39.95% 0.195 286.7)
XYZxyz(10.3103, 5.3483, 37.5272)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822A8 #82A822
analogous
#223FA8 #4822A8 #8B22A8
triadic
#4822A8 #A84822 #22A848
tetradic
#4822A8 #A8223F #82A822 #22A88B
square
#4822A8 #A8223F #82A822 #22A88B
split-complementary
#4822A8 #A88B22 #3FA822
monochromatic
#1C0D42 #321875 #4822A8 #6032D5 #8865E0

Accessibility & contrast

On white

10.15
#4822A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4822A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822A8
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822A8#FFFFFF#000000##FFFFFF
##4822A81.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#1A4A65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4822a8;
/* rgb */ color: rgb(72, 34, 168);
/* oklch */ color: oklch(39.9% 0.195 286.7);
Tailwind
colors: {
  custom: {
    50: '#8763c3',
    500: '#4822a8',
    950: '#000000',
  },
}
SCSS
$custom: #4822a8;
$custom-light: #8763c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4822a8",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 257.015,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.19498,
    "h": 286.7
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#4822A8
secondary
#A9C561
accent
#E93FB9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4822A8

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

Preview Lab → · Contrast checker → · Palette generator →

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