#4E29A7#4E29A7

#4E29A7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.187 H 288.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4E29A7
RGBrgb(78, 41, 167)
HSLhsl(258, 61%, 41%)
HSVhsv(258, 75%, 65%)
CMYKcmyk(53.3%, 75.4%, 0%, 34.5%)
CIE-LABlab(29.40, 47.29, -61.46)
CIE-LCHlch(29.40, 77.55, 307.58°)
OKLaboklab(41.25% 0.0603 -0.1767)
OKLCHoklch(41.25% 0.187 288.8)
XYZxyz(10.9078, 5.9951, 37.1341)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A7 #82A729
analogous
#2943A7 #4E29A7 #8D29A7
triadic
#4E29A7 #A74E29 #29A74E
tetradic
#4E29A7 #A72943 #82A729 #29A78D
square
#4E29A7 #A72943 #82A729 #29A78D
split-complementary
#4E29A7 #A78D29 #43A729
monochromatic
#201145 #371D76 #4E29A7 #683ED0 #8F6FDC

Accessibility & contrast

On white

9.55
#4E29A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E29A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29A7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A7#FFFFFF#000000##FFFFFF
##4E29A71.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#2C4C66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e29a7;
/* rgb */ color: rgb(78, 41, 167);
/* oklch */ color: oklch(41.3% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#8967c2',
    500: '#4e29a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a7;
$custom-light: #8967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a7",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 257.619,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.18668,
    "h": 288.8
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#4E29A7
secondary
#A8C269
accent
#E444B5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4E29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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