#4829A4#4829A4

#4829A4 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.184 H 286.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4829A4
RGBrgb(72, 41, 164)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(56.1%, 75%, 0%, 35.7%)
CIE-LABlab(28.49, 45.54, -61.16)
CIE-LCHlch(28.49, 76.25, 306.67°)
OKLaboklab(40.38% 0.052 -0.176)
OKLCHoklch(40.38% 0.184 286.5)
XYZxyz(10.1643, 5.6434, 35.6685)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4829A4 #85A429
analogous
#2947A4 #4829A4 #8529A4
triadic
#4829A4 #A44829 #29A448
tetradic
#4829A4 #A42947 #85A429 #29A485
square
#4829A4 #A42947 #85A429 #29A485
split-complementary
#4829A4 #A48529 #47A429
monochromatic
#1D1142 #331D73 #4829A4 #613CCE #896DDA

Accessibility & contrast

On white

9.86
#4829A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4829A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4829A4
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4829A4#FFFFFF#000000##FFFFFF
##4829A41.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#1E4B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4829a4;
/* rgb */ color: rgb(72, 41, 164);
/* oklch */ color: oklch(40.4% 0.184 286.5);
Tailwind
colors: {
  custom: {
    50: '#8566c0',
    500: '#4829a4',
    950: '#000000',
  },
}
SCSS
$custom: #4829a4;
$custom-light: #8566c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4829a4",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 255.122,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.18352,
    "h": 286.5
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#4829A4
secondary
#ABC168
accent
#E345BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4829A4

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

Preview Lab → · Contrast checker → · Palette generator →

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