#4822A1#4822A1

#4822A1 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.187 H 288.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4822A1
RGBrgb(72, 34, 161)
HSLhsl(258, 65%, 38%)
HSVhsv(258, 79%, 63%)
CMYKcmyk(55.3%, 78.9%, 0%, 36.9%)
CIE-LABlab(27.00, 48.11, -61.79)
CIE-LCHlch(27.00, 78.31, 307.90°)
OKLaboklab(39.25% 0.0581 -0.1778)
OKLCHoklch(39.25% 0.187 288.1)
XYZxyz(9.6756, 5.0945, 34.1848)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822A1 #7BA122
analogous
#223BA1 #4822A1 #8722A1
triadic
#4822A1 #A14822 #22A148
tetradic
#4822A1 #A1223B #7BA122 #22A187
square
#4822A1 #A1223B #7BA122 #22A187
split-complementary
#4822A1 #A18722 #3BA122
monochromatic
#1B0D3C #31176E #4822A1 #5F2DD3 #8660DD

Accessibility & contrast

On white

10.40
#4822A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4822A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822A1
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822A1#FFFFFF#000000##FFFFFF
##4822A11.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#234761
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4822a1;
/* rgb */ color: rgb(72, 34, 161);
/* oklch */ color: oklch(39.2% 0.187 288.1);
Tailwind
colors: {
  custom: {
    50: '#8562be',
    500: '#4822a1',
    950: '#000000',
  },
}
SCSS
$custom: #4822a1;
$custom-light: #8562be;
$custom-dark: #000000;
JSON
{
  "hex": "#4822a1",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 257.953,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.18703,
    "h": 288.1
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#4822A1
secondary
#A4C25D
accent
#E840B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4822A1

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

Preview Lab → · Contrast checker → · Palette generator →

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