#4822B1#4822B1

#4822B1 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.205 H 285.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4822B1
RGBrgb(72, 34, 177)
HSLhsl(256, 68%, 41%)
HSVhsv(256, 81%, 69%)
CMYKcmyk(59.3%, 80.8%, 0%, 30.6%)
CIE-LABlab(28.63, 52.60, -68.75)
CIE-LCHlch(28.63, 86.56, 307.42°)
OKLaboklab(40.87% 0.053 -0.1981)
OKLCHoklch(40.87% 0.205 285)
XYZxyz(11.1779, 5.6954, 42.0968)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822B1 #8BB122
analogous
#2244B1 #4822B1 #9022B1
triadic
#4822B1 #B14822 #22B148
tetradic
#4822B1 #B12244 #8BB122 #22B190
square
#4822B1 #B12244 #8BB122 #22B190
split-complementary
#4822B1 #B19022 #44B122
monochromatic
#1E0E4A #33187E #4822B1 #6238D9 #8B6BE3

Accessibility & contrast

On white

9.82
#4822B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4822B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822B1
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822B1#FFFFFF#000000##FFFFFF
##4822B11.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#054D6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4822b1;
/* rgb */ color: rgb(72, 34, 177);
/* oklch */ color: oklch(40.9% 0.205 285.0);
Tailwind
colors: {
  custom: {
    50: '#8863ca',
    500: '#4822b1',
    950: '#000000',
  },
}
SCSS
$custom: #4822b1;
$custom-light: #8863ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4822b1",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 255.944,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.20508,
    "h": 285
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#4822B1
secondary
#AEC966
accent
#EB3DBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4822B1

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

Preview Lab → · Contrast checker → · Palette generator →

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