#4E29A0#4E29A0

#4E29A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.178 H 290.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4E29A0
RGBrgb(78, 41, 160)
HSLhsl(259, 59%, 39%)
HSVhsv(259, 74%, 63%)
CMYKcmyk(51.2%, 74.4%, 0%, 37.3%)
CIE-LABlab(28.76, 45.30, -58.28)
CIE-LCHlch(28.76, 73.82, 307.86°)
OKLaboklab(40.6% 0.062 -0.1674)
OKLCHoklch(40.6% 0.179 290.3)
XYZxyz(10.2782, 5.7432, 33.8179)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E29A0 #7BA029
analogous
#2940A0 #4E29A0 #8929A0
triadic
#4E29A0 #A04E29 #29A04E
tetradic
#4E29A0 #A02940 #7BA029 #29A089
square
#4E29A0 #A02940 #7BA029 #29A089
split-complementary
#4E29A0 #A08929 #40A029
monochromatic
#1F103F #361D6F #4E29A0 #673ACC #8D6AD9

Accessibility & contrast

On white

9.77
#4E29A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E29A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E29A0
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E29A0#FFFFFF#000000##FFFFFF
##4E29A01.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#314962
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e29a0;
/* rgb */ color: rgb(78, 41, 160);
/* oklch */ color: oklch(40.6% 0.178 290.3);
Tailwind
colors: {
  custom: {
    50: '#8867bd',
    500: '#4e29a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e29a0;
$custom-light: #8867bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e29a0",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 258.655,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.406,
    "c": 0.1785,
    "h": 290.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#4E29A0
secondary
#A3BF65
accent
#E245B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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