#4822AF#4822AF

#4822AF is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.203 H 285.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4822AF
RGBrgb(72, 34, 175)
HSLhsl(256, 67%, 41%)
HSVhsv(256, 81%, 69%)
CMYKcmyk(58.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(28.42, 52.04, -67.90)
CIE-LCHlch(28.42, 85.54, 307.47°)
OKLaboklab(40.66% 0.0536 -0.1956)
OKLCHoklch(40.66% 0.203 285.3)
XYZxyz(10.9800, 5.6162, 41.0546)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822AF #89AF22
analogous
#2242AF #4822AF #8E22AF
triadic
#4822AF #AF4822 #22AF48
tetradic
#4822AF #AF2242 #89AF22 #22AF8E
square
#4822AF #AF2242 #89AF22 #22AF8E
split-complementary
#4822AF #AF8E22 #42AF22
monochromatic
#1E0E49 #33187C #4822AF #6236D8 #8A69E2

Accessibility & contrast

On white

9.89
#4822AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4822AF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822AF#FFFFFF#000000##FFFFFF
##4822AF1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#0B4C69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4822af;
/* rgb */ color: rgb(72, 34, 175);
/* oklch */ color: oklch(40.7% 0.203 285.3);
Tailwind
colors: {
  custom: {
    50: '#8863c8',
    500: '#4822af',
    950: '#000000',
  },
}
SCSS
$custom: #4822af;
$custom-light: #8863c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4822af",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 256.17,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.20285,
    "h": 285.3
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#4822AF
secondary
#ADC865
accent
#EA3DBC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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