#4829AF#4829AF

#4829AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.196 H 284.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4829AF
RGBrgb(72, 41, 175)
HSLhsl(254, 62%, 42%)
HSVhsv(254, 77%, 69%)
CMYKcmyk(58.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(29.56, 48.76, -66.03)
CIE-LCHlch(29.56, 82.08, 306.45°)
OKLaboklab(41.45% 0.0491 -0.1902)
OKLCHoklch(41.45% 0.196 284.5)
XYZxyz(11.2009, 6.0580, 41.1282)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4829AF #90AF29
analogous
#294DAF #4829AF #8B29AF
triadic
#4829AF #AF4829 #29AF48
tetradic
#4829AF #AF294D #90AF29 #29AF8B
square
#4829AF #AF294D #90AF29 #29AF8B
split-complementary
#4829AF #AF8B29 #4DAF29
monochromatic
#1F124C #341D7D #4829AF #6442D3 #8D74DE

Accessibility & contrast

On white

9.49
#4829AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4829AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4829AF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4829AF#FFFFFF#000000##FFFFFF
##4829AF1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#0A4F6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4829af;
/* rgb */ color: rgb(72, 41, 175);
/* oklch */ color: oklch(41.4% 0.196 284.5);
Tailwind
colors: {
  custom: {
    50: '#8767c8',
    500: '#4829af',
    950: '#000000',
  },
}
SCSS
$custom: #4829af;
$custom-light: #8767c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4829af",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 253.881,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.19648,
    "h": 284.5
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4829AF
secondary
#B1C66E
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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