#4E299F#4E299F

#4E299F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.177 H 290.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4E299F
RGBrgb(78, 41, 159)
HSLhsl(259, 59%, 39%)
HSVhsv(259, 74%, 62%)
CMYKcmyk(50.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(28.66, 45.02, -57.82)
CIE-LCHlch(28.66, 73.28, 307.90°)
OKLaboklab(40.51% 0.0623 -0.166)
OKLCHoklch(40.51% 0.177 290.6)
XYZxyz(10.1910, 5.7084, 33.3590)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E299F #7A9F29
analogous
#293F9F #4E299F #89299F
triadic
#4E299F #9F4E29 #299F4E
tetradic
#4E299F #9F293F #7A9F29 #299F89
square
#4E299F #9F293F #7A9F29 #299F89
split-complementary
#4E299F #9F8929 #3F9F29
monochromatic
#1E103E #361C6E #4E299F #6739CC #8D6AD9

Accessibility & contrast

On white

9.80
#4E299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E299F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E299F#FFFFFF#000000##FFFFFF
##4E299F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#324962
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e299f;
/* rgb */ color: rgb(78, 41, 159);
/* oklch */ color: oklch(40.5% 0.177 290.6);
Tailwind
colors: {
  custom: {
    50: '#8866bc',
    500: '#4e299f',
    950: '#000000',
  },
}
SCSS
$custom: #4e299f;
$custom-light: #8866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e299f",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 258.814,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40508,
    "c": 0.17732,
    "h": 290.6
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E299F

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

Preview Lab → · Contrast checker → · Palette generator →

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