#4E29B3#4E29B3

#4E29B3 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.201 H 286.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4E29B3
RGBrgb(78, 41, 179)
HSLhsl(256, 63%, 43%)
HSVhsv(256, 77%, 70%)
CMYKcmyk(56.4%, 77.1%, 0%, 29.8%)
CIE-LABlab(30.54, 50.69, -66.77)
CIE-LCHlch(30.54, 83.83, 307.21°)
OKLaboklab(42.4% 0.057 -0.1922)
OKLCHoklch(42.4% 0.201 286.5)
XYZxyz(12.0691, 6.4596, 43.2499)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29B3 #8EB329
analogous
#2949B3 #4E29B3 #9329B3
triadic
#4E29B3 #B34E29 #29B34E
tetradic
#4E29B3 #B32949 #8EB329 #29B393
square
#4E29B3 #B32949 #8EB329 #29B393
split-complementary
#4E29B3 #B39329 #49B329
monochromatic
#23124F #381E81 #4E29B3 #6B45D4 #9377E0

Accessibility & contrast

On white

9.16
#4E29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29B3
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29B3#FFFFFF#000000##FFFFFF
##4E29B31.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1F506D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e29b3;
/* rgb */ color: rgb(78, 41, 179);
/* oklch */ color: oklch(42.4% 0.201 286.5);
Tailwind
colors: {
  custom: {
    50: '#8b67cb',
    500: '#4e29b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e29b3;
$custom-light: #8b67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29b3",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 256.087,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.424,
    "c": 0.20051,
    "h": 286.5
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#4E29B3
secondary
#B0C770
accent
#E642BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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