#4E2677#4E2677

#4E2677 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.133 H 303.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4E2677
RGBrgb(78, 38, 119)
HSLhsl(270, 52%, 31%)
HSVhsv(270, 68%, 47%)
CMYKcmyk(34.5%, 68.1%, 0%, 53.3%)
CIE-LABlab(24.76, 35.53, -39.31)
CIE-LCHlch(24.76, 52.98, 312.11°)
OKLaboklab(36.68% 0.0726 -0.1116)
OKLCHoklch(36.68% 0.133 303.1)
XYZxyz(7.1640, 4.3378, 17.9091)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2677 #4F7726
analogous
#262677 #4E2677 #762677
triadic
#4E2677 #774E26 #26774E
tetradic
#4E2677 #772626 #4F7726 #267776
square
#4E2677 #772626 #4F7726 #267776
split-complementary
#4E2677 #777626 #267726
monochromatic
#11081A #301749 #4E2677 #6C35A5 #8B50C7

Accessibility & contrast

On white

11.24
#4E2677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2677
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2677#FFFFFF#000000##FFFFFF
##4E26771.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2677;
/* rgb */ color: rgb(78, 38, 119);
/* oklch */ color: oklch(36.7% 0.133 303.1);
Tailwind
colors: {
  custom: {
    50: '#83639f',
    500: '#4e2677',
    950: '#000000',
  },
}
SCSS
$custom: #4e2677;
$custom-light: #83639f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2677",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 269.63,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.13318,
    "h": 303.1
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#4E2677
secondary
#7DA94F
accent
#DB4D95
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2677

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

Preview Lab → · Contrast checker → · Palette generator →

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