#4E29B6#4E29B6

#4E29B6 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.204 H 286.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4E29B6
RGBrgb(78, 41, 182)
HSLhsl(256, 63%, 44%)
HSVhsv(256, 77%, 71%)
CMYKcmyk(57.1%, 77.5%, 0%, 28.6%)
CIE-LABlab(30.84, 51.54, -68.07)
CIE-LCHlch(30.84, 85.39, 307.13°)
OKLaboklab(42.69% 0.0562 -0.196)
OKLCHoklch(42.69% 0.204 286)
XYZxyz(12.3758, 6.5823, 44.8653)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29B6 #91B629
analogous
#294AB6 #4E29B6 #9429B6
triadic
#4E29B6 #B64E29 #29B64E
tetradic
#4E29B6 #B6294A #91B629 #29B694
square
#4E29B6 #B6294A #91B629 #29B694
split-complementary
#4E29B6 #B69429 #4AB629
monochromatic
#231252 #391E84 #4E29B6 #6C47D5 #9479E1

Accessibility & contrast

On white

9.07
#4E29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29B6
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29B6#FFFFFF#000000##FFFFFF
##4E29B61.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#1A526F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e29b6;
/* rgb */ color: rgb(78, 41, 182);
/* oklch */ color: oklch(42.7% 0.204 286.0);
Tailwind
colors: {
  custom: {
    50: '#8c68cd',
    500: '#4e29b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e29b6;
$custom-light: #8c68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29b6",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 255.745,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.20393,
    "h": 286
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#4E29B6
secondary
#B2C972
accent
#E642BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4E29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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