#4822BD#4822BD

#4822BD is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.1% C 0.218 H 283.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4822BD
RGBrgb(72, 34, 189)
HSLhsl(255, 70%, 44%)
HSVhsv(255, 82%, 74%)
CMYKcmyk(61.9%, 82%, 0%, 25.9%)
CIE-LABlab(29.90, 55.93, -73.79)
CIE-LCHlch(29.90, 92.59, 307.16°)
OKLaboklab(42.12% 0.049 -0.2128)
OKLCHoklch(42.12% 0.218 283)
XYZxyz(12.4270, 6.1950, 48.6752)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822BD #97BD22
analogous
#2249BD #4822BD #9522BD
triadic
#4822BD #BD4822 #22BD48
tetradic
#4822BD #BD2249 #97BD22 #22BD95
square
#4822BD #BD2249 #97BD22 #22BD95
split-complementary
#4822BD #BD9522 #49BD22
monochromatic
#200F55 #341989 #4822BD #6640DD #9073E6

Accessibility & contrast

On white

9.38
#4822BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4822BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822BD
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822BD#FFFFFF#000000##FFFFFF
##4822BD1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005271
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4822bd;
/* rgb */ color: rgb(72, 34, 189);
/* oklch */ color: oklch(42.1% 0.218 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a64d2',
    500: '#4822bd',
    950: '#000000',
  },
}
SCSS
$custom: #4822bd;
$custom-light: #8a64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4822bd",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 254.71,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.21837,
    "h": 283
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#4822BD
secondary
#B6CD6E
accent
#EC3BC1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4822BD

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

Preview Lab → · Contrast checker → · Palette generator →

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