#4822A7#4822A7

#4822A7 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.194 H 286.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4822A7
RGBrgb(72, 34, 167)
HSLhsl(257, 66%, 39%)
HSVhsv(257, 80%, 65%)
CMYKcmyk(56.9%, 79.6%, 0%, 34.5%)
CIE-LABlab(27.60, 49.80, -64.44)
CIE-LCHlch(27.60, 81.43, 307.70°)
OKLaboklab(39.85% 0.0562 -0.1855)
OKLCHoklch(39.85% 0.194 286.9)
XYZxyz(10.2175, 5.3112, 37.0385)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822A7 #81A722
analogous
#223FA7 #4822A7 #8B22A7
triadic
#4822A7 #A74822 #22A748
tetradic
#4822A7 #A7223F #81A722 #22A78B
square
#4822A7 #A7223F #81A722 #22A78B
split-complementary
#4822A7 #A78B22 #3FA722
monochromatic
#1C0D41 #321874 #4822A7 #6031D5 #8764DF

Accessibility & contrast

On white

10.18
#4822A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4822A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822A7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822A7#FFFFFF#000000##FFFFFF
##4822A71.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#1B4965
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4822a7;
/* rgb */ color: rgb(72, 34, 167);
/* oklch */ color: oklch(39.8% 0.194 286.9);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4822a7',
    950: '#000000',
  },
}
SCSS
$custom: #4822a7;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4822a7",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 257.143,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.19384,
    "h": 286.9
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#4822A7
secondary
#A8C560
accent
#E93FB8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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