#4E29C3#4E29C3

#4E29C3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.219 H 283.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E29C3
RGBrgb(78, 41, 195)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 79%, 76%)
CMYKcmyk(60%, 79%, 0%, 23.5%)
CIE-LABlab(32.13, 55.21, -73.61)
CIE-LCHlch(32.13, 92.01, 306.87°)
OKLaboklab(43.99% 0.0523 -0.2122)
OKLCHoklch(43.99% 0.219 283.9)
XYZxyz(13.7821, 7.1448, 52.2720)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29C3 #9EC329
analogous
#2951C3 #4E29C3 #9B29C3
triadic
#4E29C3 #C34E29 #29C34E
tetradic
#4E29C3 #C32951 #9EC329 #29C39B
square
#4E29C3 #C32951 #9EC329 #29C39B
split-complementary
#4E29C3 #C39B29 #51C329
monochromatic
#26145E #3A1E90 #4E29C3 #714FDA #9A82E5

Accessibility & contrast

On white

8.64
#4E29C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E29C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29C3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29C3#FFFFFF#000000##FFFFFF
##4E29C31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e29c3;
/* rgb */ color: rgb(78, 41, 195);
/* oklch */ color: oklch(44.0% 0.219 283.9);
Tailwind
colors: {
  custom: {
    50: '#8e68d6',
    500: '#4e29c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e29c3;
$custom-light: #8e68d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29c3",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 195
  },
  "hsl": {
    "h": 254.416,
    "s": 65.254,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.21857,
    "h": 283.9
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#4E29C3
secondary
#BACE7A
accent
#E840C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4E29C3

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

Preview Lab → · Contrast checker → · Palette generator →

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