#4E2777#4E2777

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

Color values

HEX#4E2777
RGBrgb(78, 39, 119)
HSLhsl(269, 51%, 31%)
HSVhsv(269, 67%, 47%)
CMYKcmyk(34.5%, 67.2%, 0%, 53.3%)
CIE-LABlab(24.96, 34.97, -38.98)
CIE-LCHlch(24.96, 52.37, 311.90°)
OKLaboklab(36.83% 0.0714 -0.1107)
OKLCHoklch(36.83% 0.132 302.8)
XYZxyz(7.1964, 4.4026, 17.9199)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2777 #507727
analogous
#272877 #4E2777 #762777
triadic
#4E2777 #774E27 #27774E
tetradic
#4E2777 #772728 #507727 #277776
square
#4E2777 #772728 #507727 #277776
split-complementary
#4E2777 #777627 #287727
monochromatic
#12091B #301849 #4E2777 #6C36A5 #8B52C6

Accessibility & contrast

On white

11.17
#4E2777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2777
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2777#FFFFFF#000000##FFFFFF
##4E27771.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2777;
/* rgb */ color: rgb(78, 39, 119);
/* oklch */ color: oklch(36.8% 0.132 302.8);
Tailwind
colors: {
  custom: {
    50: '#83649f',
    500: '#4e2777',
    950: '#000000',
  },
}
SCSS
$custom: #4e2777;
$custom-light: #83649f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2777",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 269.25,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3683,
    "c": 0.1317,
    "h": 302.8
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#4E2777
secondary
#7EA951
accent
#DA4E96
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2777

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

Preview Lab → · Contrast checker → · Palette generator →

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