#4E299A#4E299A

#4E299A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.171 H 291.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E299A
RGBrgb(78, 41, 154)
HSLhsl(260, 58%, 38%)
HSVhsv(260, 73%, 60%)
CMYKcmyk(49.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(28.22, 43.60, -55.51)
CIE-LCHlch(28.22, 70.58, 308.15°)
OKLaboklab(40.05% 0.0634 -0.1592)
OKLCHoklch(40.05% 0.171 291.7)
XYZxyz(9.7659, 5.5383, 31.1200)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E299A #759A29
analogous
#293C9A #4E299A #86299A
triadic
#4E299A #9A4E29 #299A4E
tetradic
#4E299A #9A293C #759A29 #299A86
square
#4E299A #9A293C #759A29 #299A86
split-complementary
#4E299A #9A8629 #3C9A29
monochromatic
#1D0F39 #361C6A #4E299A #6737CA #8B67D7

Accessibility & contrast

On white

9.96
#4E299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E299A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E299A#FFFFFF#000000##FFFFFF
##4E299A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#35475F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e299a;
/* rgb */ color: rgb(78, 41, 154);
/* oklch */ color: oklch(40.1% 0.171 291.7);
Tailwind
colors: {
  custom: {
    50: '#8766b9',
    500: '#4e299a',
    950: '#000000',
  },
}
SCSS
$custom: #4e299a;
$custom-light: #8766b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e299a",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 259.646,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.1714,
    "h": 291.7
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#4E299A
secondary
#9FBD62
accent
#E147AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E299A

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

Preview Lab → · Contrast checker → · Palette generator →

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