#4E29AF#4E29AF

#4E29AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.196 H 287.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4E29AF
RGBrgb(78, 41, 175)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 77%, 69%)
CMYKcmyk(55.4%, 76.6%, 0%, 31.4%)
CIE-LABlab(30.16, 49.56, -65.02)
CIE-LCHlch(30.16, 81.75, 307.32°)
OKLaboklab(42.01% 0.0581 -0.1871)
OKLCHoklch(42.01% 0.196 287.3)
XYZxyz(11.6704, 6.3001, 41.1502)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29AF #8AAF29
analogous
#2947AF #4E29AF #9129AF
triadic
#4E29AF #AF4E29 #29AF4E
tetradic
#4E29AF #AF2947 #8AAF29 #29AF91
square
#4E29AF #AF2947 #8AAF29 #29AF91
split-complementary
#4E29AF #AF9129 #47AF29
monochromatic
#22124C #381D7D #4E29AF #6A42D3 #9174DE

Accessibility & contrast

On white

9.29
#4E29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29AF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29AF#FFFFFF#000000##FFFFFF
##4E29AF1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#244F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e29af;
/* rgb */ color: rgb(78, 41, 175);
/* oklch */ color: oklch(42.0% 0.196 287.3);
Tailwind
colors: {
  custom: {
    50: '#8a67c8',
    500: '#4e29af',
    950: '#000000',
  },
}
SCSS
$custom: #4e29af;
$custom-light: #8a67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29af",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 256.567,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.19593,
    "h": 287.3
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#4E29AF
secondary
#AEC66E
accent
#E543B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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