#4E299E#4E299E

#4E299E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.176 H 290.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4E299E
RGBrgb(78, 41, 158)
HSLhsl(259, 59%, 39%)
HSVhsv(259, 74%, 62%)
CMYKcmyk(50.6%, 74.1%, 0%, 38%)
CIE-LABlab(28.57, 44.73, -57.36)
CIE-LCHlch(28.57, 72.74, 307.95°)
OKLaboklab(40.42% 0.0625 -0.1647)
OKLCHoklch(40.42% 0.176 290.8)
XYZxyz(10.1046, 5.6738, 32.9039)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E299E #799E29
analogous
#293F9E #4E299E #89299E
triadic
#4E299E #9E4E29 #299E4E
tetradic
#4E299E #9E293F #799E29 #299E89
square
#4E299E #9E293F #799E29 #299E89
split-complementary
#4E299E #9E8929 #3F9E29
monochromatic
#1E103D #361C6D #4E299E #6739CC #8C69D8

Accessibility & contrast

On white

9.84
#4E299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E299E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E299E#FFFFFF#000000##FFFFFF
##4E299E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#334861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e299e;
/* rgb */ color: rgb(78, 41, 158);
/* oklch */ color: oklch(40.4% 0.176 290.8);
Tailwind
colors: {
  custom: {
    50: '#8866bc',
    500: '#4e299e',
    950: '#000000',
  },
}
SCSS
$custom: #4e299e;
$custom-light: #8866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e299e",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 258.974,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.17614,
    "h": 290.8
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#4E299E
secondary
#A2BF64
accent
#E246B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E299E

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

Preview Lab → · Contrast checker → · Palette generator →

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