#4E2077#4E2077

#4E2077 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.142 H 304.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2077
RGBrgb(78, 32, 119)
HSLhsl(272, 58%, 30%)
HSVhsv(272, 73%, 47%)
CMYKcmyk(34.5%, 73.1%, 0%, 53.3%)
CIE-LABlab(23.62, 38.68, -41.15)
CIE-LCHlch(23.62, 56.47, 313.23°)
OKLaboklab(35.87% 0.0797 -0.117)
OKLCHoklch(35.87% 0.142 304.3)
XYZxyz(6.9874, 3.9847, 17.8502)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2077 #497720
analogous
#222077 #4E2077 #772075
triadic
#4E2077 #774E20 #20774E
tetradic
#4E2077 #772220 #497720 #207577
square
#4E2077 #772220 #497720 #207577
split-complementary
#4E2077 #757720 #207722
monochromatic
#100618 #2E1347 #4E2077 #6E2DA7 #8D45CD

Accessibility & contrast

On white

11.69
#4E2077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2077
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2077#FFFFFF#000000##FFFFFF
##4E20771.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#463449
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2077;
/* rgb */ color: rgb(78, 32, 119);
/* oklch */ color: oklch(35.9% 0.142 304.3);
Tailwind
colors: {
  custom: {
    50: '#84609f',
    500: '#4e2077',
    950: '#000000',
  },
}
SCSS
$custom: #4e2077;
$custom-light: #84609f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2077",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 271.724,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.14157,
    "h": 304.3
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#4E2077
secondary
#77AA48
accent
#E1478F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2077

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

Preview Lab → · Contrast checker → · Palette generator →

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