#4822A6#4822A6

#4822A6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.193 H 287.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4822A6
RGBrgb(72, 34, 166)
HSLhsl(257, 66%, 39%)
HSVhsv(257, 80%, 65%)
CMYKcmyk(56.6%, 79.5%, 0%, 34.9%)
CIE-LABlab(27.50, 49.51, -64.00)
CIE-LCHlch(27.50, 80.92, 307.73°)
OKLaboklab(39.75% 0.0565 -0.1842)
OKLCHoklch(39.75% 0.193 287.1)
XYZxyz(10.1254, 5.2744, 36.5535)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822A6 #80A622
analogous
#223EA6 #4822A6 #8A22A6
triadic
#4822A6 #A64822 #22A648
tetradic
#4822A6 #A6223E #80A622 #22A68A
square
#4822A6 #A6223E #80A622 #22A68A
split-complementary
#4822A6 #A68A22 #3EA622
monochromatic
#1C0D40 #321873 #4822A6 #6030D5 #8763DF

Accessibility & contrast

On white

10.22
#4822A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4822A6
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822A6#FFFFFF#000000##FFFFFF
##4822A61.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#1D4964
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4822a6;
/* rgb */ color: rgb(72, 34, 166);
/* oklch */ color: oklch(39.7% 0.193 287.1);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4822a6',
    950: '#000000',
  },
}
SCSS
$custom: #4822a6;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4822a6",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 257.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.19271,
    "h": 287.1
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#4822A6
secondary
#A7C45F
accent
#E93FB8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4822A6

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

Preview Lab → · Contrast checker → · Palette generator →

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