#4822B0#4822B0

#4822B0 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.204 H 285.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4822B0
RGBrgb(72, 34, 176)
HSLhsl(256, 68%, 41%)
HSVhsv(256, 81%, 69%)
CMYKcmyk(59.1%, 80.7%, 0%, 31%)
CIE-LABlab(28.53, 52.32, -68.32)
CIE-LCHlch(28.53, 86.05, 307.44°)
OKLaboklab(40.76% 0.0533 -0.1969)
OKLCHoklch(40.76% 0.204 285.2)
XYZxyz(11.0786, 5.6557, 41.5738)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4822B0 #8AB022
analogous
#2243B0 #4822B0 #8F22B0
triadic
#4822B0 #B04822 #22B048
tetradic
#4822B0 #B02243 #8AB022 #22B08F
square
#4822B0 #B02243 #8AB022 #22B08F
split-complementary
#4822B0 #B08F22 #43B022
monochromatic
#1E0E49 #33187D #4822B0 #6237D8 #8A6AE2

Accessibility & contrast

On white

9.85
#4822B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4822B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4822B0
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4822B0#FFFFFF#000000##FFFFFF
##4822B01.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#084D6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4822b0;
/* rgb */ color: rgb(72, 34, 176);
/* oklch */ color: oklch(40.8% 0.204 285.2);
Tailwind
colors: {
  custom: {
    50: '#8863c9',
    500: '#4822b0',
    950: '#000000',
  },
}
SCSS
$custom: #4822b0;
$custom-light: #8863c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4822b0",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 256.056,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.20397,
    "h": 285.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#4822B0
secondary
#AEC866
accent
#EA3DBC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4822B0

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

Preview Lab → · Contrast checker → · Palette generator →

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