#4829AB#4829AB

#4829AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.192 H 285.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4829AB
RGBrgb(72, 41, 171)
HSLhsl(254, 61%, 42%)
HSVhsv(254, 76%, 67%)
CMYKcmyk(57.9%, 76%, 0%, 32.9%)
CIE-LABlab(29.17, 47.60, -64.27)
CIE-LCHlch(29.17, 79.98, 306.52°)
OKLaboklab(41.06% 0.0502 -0.1851)
OKLCHoklch(41.06% 0.192 285.2)
XYZxyz(10.8139, 5.9032, 39.0898)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4829AB #8CAB29
analogous
#294BAB #4829AB #8929AB
triadic
#4829AB #AB4829 #29AB48
tetradic
#4829AB #AB294B #8CAB29 #29AB89
square
#4829AB #AB294B #8CAB29 #29AB89
split-complementary
#4829AB #AB8929 #4BAB29
monochromatic
#1E1148 #331D7A #4829AB #6340D1 #8B71DD

Accessibility & contrast

On white

9.63
#4829AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4829AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4829AB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4829AB#FFFFFF#000000##FFFFFF
##4829AB1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#144E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4829ab;
/* rgb */ color: rgb(72, 41, 171);
/* oklch */ color: oklch(41.1% 0.192 285.2);
Tailwind
colors: {
  custom: {
    50: '#8767c5',
    500: '#4829ab',
    950: '#000000',
  },
}
SCSS
$custom: #4829ab;
$custom-light: #8767c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4829ab",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 254.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.19179,
    "h": 285.2
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#4829AB
secondary
#AFC46C
accent
#E443BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4829AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4829AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva