#4E29AC#4E29AC

#4E29AC is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.192 H 287.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E29AC
RGBrgb(78, 41, 172)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 76%, 67%)
CMYKcmyk(54.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(29.87, 48.71, -63.69)
CIE-LCHlch(29.87, 80.18, 307.41°)
OKLaboklab(41.73% 0.059 -0.1832)
OKLCHoklch(41.73% 0.192 287.8)
XYZxyz(11.3790, 6.1836, 39.6157)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29AC #87AC29
analogous
#2945AC #4E29AC #9029AC
triadic
#4E29AC #AC4E29 #29AC4E
tetradic
#4E29AC #AC2945 #87AC29 #29AC90
square
#4E29AC #AC2945 #87AC29 #29AC90
split-complementary
#4E29AC #AC9029 #45AC29
monochromatic
#211149 #381D7B #4E29AC #6A41D2 #9072DD

Accessibility & contrast

On white

9.39
#4E29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29AC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29AC#FFFFFF#000000##FFFFFF
##4E29AC1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#274E69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e29ac;
/* rgb */ color: rgb(78, 41, 172);
/* oklch */ color: oklch(41.7% 0.192 287.8);
Tailwind
colors: {
  custom: {
    50: '#8a67c6',
    500: '#4e29ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e29ac;
$custom-light: #8a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29ac",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 256.947,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.19247,
    "h": 287.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#4E29AC
secondary
#ACC56C
accent
#E543B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4E29AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva