#4829A2#4829A2

#4829A2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.181 H 286.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4829A2
RGBrgb(72, 41, 162)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(55.6%, 74.7%, 0%, 36.5%)
CIE-LABlab(28.31, 44.95, -60.26)
CIE-LCHlch(28.31, 75.18, 306.73°)
OKLaboklab(40.19% 0.0525 -0.1734)
OKLCHoklch(40.19% 0.181 286.8)
XYZxyz(9.9851, 5.5717, 34.7247)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4829A2 #83A229
analogous
#2946A2 #4829A2 #8529A2
triadic
#4829A2 #A24829 #29A248
tetradic
#4829A2 #A22946 #83A229 #29A285
square
#4829A2 #A22946 #83A229 #29A285
split-complementary
#4829A2 #A28529 #46A229
monochromatic
#1D1040 #321D71 #4829A2 #603BCD #886CDA

Accessibility & contrast

On white

9.93
#4829A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4829A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4829A2
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4829A2#FFFFFF#000000##FFFFFF
##4829A21.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#214A63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4829a2;
/* rgb */ color: rgb(72, 41, 162);
/* oklch */ color: oklch(40.2% 0.181 286.8);
Tailwind
colors: {
  custom: {
    50: '#8566bf',
    500: '#4829a2',
    950: '#000000',
  },
}
SCSS
$custom: #4829a2;
$custom-light: #8566bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4829a2",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 255.372,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.18113,
    "h": 286.8
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#4829A2
secondary
#A9C067
accent
#E345BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4829A2

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

Preview Lab → · Contrast checker → · Palette generator →

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