#4E29A4#4E29A4

#4E29A4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.183 H 289.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4E29A4
RGBrgb(78, 41, 164)
HSLhsl(258, 60%, 40%)
HSVhsv(258, 75%, 64%)
CMYKcmyk(52.4%, 75%, 0%, 35.7%)
CIE-LABlab(29.12, 46.44, -60.10)
CIE-LCHlch(29.12, 75.95, 307.69°)
OKLaboklab(40.97% 0.0611 -0.1727)
OKLCHoklch(40.97% 0.183 289.5)
XYZxyz(10.6337, 5.8854, 35.6905)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A4 #7FA429
analogous
#2941A4 #4E29A4 #8C29A4
triadic
#4E29A4 #A44E29 #29A44E
tetradic
#4E29A4 #A42941 #7FA429 #29A48C
square
#4E29A4 #A42941 #7FA429 #29A48C
split-complementary
#4E29A4 #A48C29 #41A429
monochromatic
#1F1142 #371D73 #4E29A4 #683CCE #8E6DDA

Accessibility & contrast

On white

9.65
#4E29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29A4
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A4#FFFFFF#000000##FFFFFF
##4E29A41.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#2E4B64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e29a4;
/* rgb */ color: rgb(78, 41, 164);
/* oklch */ color: oklch(41.0% 0.183 289.5);
Tailwind
colors: {
  custom: {
    50: '#8967c0',
    500: '#4e29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a4;
$custom-light: #8967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a4",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 258.049,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.18318,
    "h": 289.5
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#4E29A4
secondary
#A6C168
accent
#E345B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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