#4E29A5#4E29A5

#4E29A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.184 H 289.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4E29A5
RGBrgb(78, 41, 165)
HSLhsl(258, 60%, 40%)
HSVhsv(258, 75%, 65%)
CMYKcmyk(52.7%, 75.2%, 0%, 35.3%)
CIE-LABlab(29.21, 46.72, -60.56)
CIE-LCHlch(29.21, 76.48, 307.65°)
OKLaboklab(41.06% 0.0608 -0.174)
OKLCHoklch(41.06% 0.184 289.3)
XYZxyz(10.7244, 5.9217, 36.1679)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A5 #80A529
analogous
#2942A5 #4E29A5 #8C29A5
triadic
#4E29A5 #A54E29 #29A54E
tetradic
#4E29A5 #A52942 #80A529 #29A58C
square
#4E29A5 #A52942 #80A529 #29A58C
split-complementary
#4E29A5 #A58C29 #42A529
monochromatic
#201143 #371D74 #4E29A5 #683DCF #8E6EDB

Accessibility & contrast

On white

9.61
#4E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E29A5
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A5#FFFFFF#000000##FFFFFF
##4E29A51.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#2D4B65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e29a5;
/* rgb */ color: rgb(78, 41, 165);
/* oklch */ color: oklch(41.1% 0.184 289.3);
Tailwind
colors: {
  custom: {
    50: '#8967c1',
    500: '#4e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a5;
$custom-light: #8967c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a5",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 257.903,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.18435,
    "h": 289.3
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#4E29A5
secondary
#A7C268
accent
#E344B4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #4E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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