#4822B3#4822B3

#4822B3 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.207 H 284.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4822B3
RGBrgb(72, 34, 179)
HSLhsl(256, 68%, 42%)
HSVhsv(256, 81%, 70%)
CMYKcmyk(59.8%, 81%, 0%, 29.8%)
CIE-LABlab(28.84, 53.15, -69.60)
CIE-LCHlch(28.84, 87.58, 307.37°)
OKLaboklab(41.07% 0.0523 -0.2006)
OKLCHoklch(41.07% 0.207 284.6)
XYZxyz(11.3787, 5.7757, 43.1543)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822B3 #8DB322
analogous
#2245B3 #4822B3 #9122B3
triadic
#4822B3 #B34822 #22B348
tetradic
#4822B3 #B32245 #8DB322 #22B391
square
#4822B3 #B32245 #8DB322 #22B391
split-complementary
#4822B3 #B39122 #45B322
monochromatic
#1F0E4C #331880 #4822B3 #6339D9 #8B6CE3

Accessibility & contrast

On white

9.74
#4822B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4822B3
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822B3#FFFFFF#000000##FFFFFF
##4822B31.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4822b3;
/* rgb */ color: rgb(72, 34, 179);
/* oklch */ color: oklch(41.1% 0.207 284.6);
Tailwind
colors: {
  custom: {
    50: '#8863cb',
    500: '#4822b3',
    950: '#000000',
  },
}
SCSS
$custom: #4822b3;
$custom-light: #8863cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4822b3",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 255.724,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.20731,
    "h": 284.6
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4822B3

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

Preview Lab → · Contrast checker → · Palette generator →

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