#4E2776#4E2776

#4E2776 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.130 H 303.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2776
RGBrgb(78, 39, 118)
HSLhsl(270, 50%, 31%)
HSVhsv(270, 67%, 46%)
CMYKcmyk(33.9%, 66.9%, 0%, 53.7%)
CIE-LABlab(24.89, 34.71, -38.46)
CIE-LCHlch(24.89, 51.81, 312.06°)
OKLaboklab(36.75% 0.0715 -0.1091)
OKLCHoklch(36.75% 0.13 303.2)
XYZxyz(7.1367, 4.3788, 17.6052)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2776 #4F7627
analogous
#272876 #4E2776 #752776
triadic
#4E2776 #764E27 #27764E
tetradic
#4E2776 #762728 #4F7627 #277675
square
#4E2776 #762728 #4F7627 #277675
split-complementary
#4E2776 #767527 #287627
monochromatic
#11091A #301848 #4E2776 #6C36A4 #8B52C6

Accessibility & contrast

On white

11.20
#4E2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2776
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2776#FFFFFF#000000##FFFFFF
##4E27761.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#0D3B74
Tritanopia (blue-blind)
#46384B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2776;
/* rgb */ color: rgb(78, 39, 118);
/* oklch */ color: oklch(36.8% 0.130 303.2);
Tailwind
colors: {
  custom: {
    50: '#83649e',
    500: '#4e2776',
    950: '#000000',
  },
}
SCSS
$custom: #4e2776;
$custom-light: #83649e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2776",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 269.62,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36753,
    "c": 0.13047,
    "h": 303.2
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#4E2776
secondary
#7DA851
accent
#DA4E95
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2776

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

Preview Lab → · Contrast checker → · Palette generator →

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