#4E299D#4E299D

#4E299D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.175 H 291.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4E299D
RGBrgb(78, 41, 157)
HSLhsl(259, 59%, 39%)
HSVhsv(259, 74%, 62%)
CMYKcmyk(50.3%, 73.9%, 0%, 38.4%)
CIE-LABlab(28.48, 44.45, -56.90)
CIE-LCHlch(28.48, 72.20, 308.00°)
OKLaboklab(40.33% 0.0628 -0.1633)
OKLCHoklch(40.33% 0.175 291)
XYZxyz(10.0189, 5.6395, 32.4524)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E299D #789D29
analogous
#293E9D #4E299D #88299D
triadic
#4E299D #9D4E29 #299D4E
tetradic
#4E299D #9D293E #789D29 #299D88
square
#4E299D #9D293E #789D29 #299D88
split-complementary
#4E299D #9D8829 #3E9D29
monochromatic
#1E103C #361C6C #4E299D #6738CB #8C69D8

Accessibility & contrast

On white

9.87
#4E299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E299D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E299D#FFFFFF#000000##FFFFFF
##4E299D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#334860
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e299d;
/* rgb */ color: rgb(78, 41, 157);
/* oklch */ color: oklch(40.3% 0.175 291.0);
Tailwind
colors: {
  custom: {
    50: '#8866bb',
    500: '#4e299d',
    950: '#000000',
  },
}
SCSS
$custom: #4e299d;
$custom-light: #8866bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e299d",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 259.138,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.17496,
    "h": 291
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#4E299D
secondary
#A1BE64
accent
#E246B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E299D

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

Preview Lab → · Contrast checker → · Palette generator →

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