#4E29A9#4E29A9

#4E29A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.189 H 288.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4E29A9
RGBrgb(78, 41, 169)
HSLhsl(257, 61%, 41%)
HSVhsv(257, 76%, 66%)
CMYKcmyk(53.8%, 75.7%, 0%, 33.7%)
CIE-LABlab(29.59, 47.86, -62.35)
CIE-LCHlch(29.59, 78.60, 307.51°)
OKLaboklab(41.44% 0.0598 -0.1793)
OKLCHoklch(41.44% 0.189 288.4)
XYZxyz(11.0942, 6.0696, 38.1154)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A9 #84A929
analogous
#2944A9 #4E29A9 #8E29A9
triadic
#4E29A9 #A94E29 #29A94E
tetradic
#4E29A9 #A92944 #84A929 #29A98E
square
#4E29A9 #A92944 #84A929 #29A98E
split-complementary
#4E29A9 #A98E29 #44A929
monochromatic
#211146 #371D78 #4E29A9 #693FD0 #8F70DC

Accessibility & contrast

On white

9.49
#4E29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29A9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A9#FFFFFF#000000##FFFFFF
##4E29A91.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#2A4C67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e29a9;
/* rgb */ color: rgb(78, 41, 169);
/* oklch */ color: oklch(41.4% 0.189 288.4);
Tailwind
colors: {
  custom: {
    50: '#8967c4',
    500: '#4e29a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a9;
$custom-light: #8967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a9",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 257.344,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.18901,
    "h": 288.4
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#4E29A9
secondary
#AAC36A
accent
#E444B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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