#4822B4#4822B4

#4822B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.2% C 0.208 H 284.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4822B4
RGBrgb(72, 34, 180)
HSLhsl(256, 68%, 42%)
HSVhsv(256, 81%, 71%)
CMYKcmyk(60%, 81.1%, 0%, 29.4%)
CIE-LABlab(28.94, 53.43, -70.02)
CIE-LCHlch(28.94, 88.08, 307.35°)
OKLaboklab(41.18% 0.052 -0.2018)
OKLCHoklch(41.18% 0.208 284.4)
XYZxyz(11.4802, 5.8163, 43.6889)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822B4 #8EB422
analogous
#2245B4 #4822B4 #9122B4
triadic
#4822B4 #B44822 #22B448
tetradic
#4822B4 #B42245 #8EB422 #22B491
square
#4822B4 #B42245 #8EB422 #22B491
split-complementary
#4822B4 #B49122 #45B422
monochromatic
#1F0F4D #331881 #4822B4 #633ADA #8C6DE3

Accessibility & contrast

On white

9.71
#4822B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4822B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822B4
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822B4#FFFFFF#000000##FFFFFF
##4822B41.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#004E6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4822b4;
/* rgb */ color: rgb(72, 34, 180);
/* oklch */ color: oklch(41.2% 0.208 284.4);
Tailwind
colors: {
  custom: {
    50: '#8963cc',
    500: '#4822b4',
    950: '#000000',
  },
}
SCSS
$custom: #4822b4;
$custom-light: #8963cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4822b4",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 255.616,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.20842,
    "h": 284.4
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#4822B4
secondary
#B0CA68
accent
#EB3DBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4822B4

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

Preview Lab → · Contrast checker → · Palette generator →

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