#4E2E77#4E2E77

#4E2E77 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.121 H 301.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2E77
RGBrgb(78, 46, 119)
HSLhsl(266, 44%, 32%)
HSVhsv(266, 61%, 47%)
CMYKcmyk(34.5%, 61.3%, 0%, 53.3%)
CIE-LABlab(26.46, 30.93, -36.56)
CIE-LCHlch(26.46, 47.89, 310.23°)
OKLaboklab(37.92% 0.0623 -0.1036)
OKLCHoklch(37.92% 0.121 301)
XYZxyz(7.4479, 4.9056, 18.0037)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E77 #57772E
analogous
#2E3377 #4E2E77 #722E77
triadic
#4E2E77 #774E2E #2E774E
tetradic
#4E2E77 #772E33 #57772E #2E7772
square
#4E2E77 #772E33 #57772E #2E7772
split-complementary
#4E2E77 #77722E #33772E
monochromatic
#140C1F #311D4B #4E2E77 #6B3FA3 #8A5EC1

Accessibility & contrast

On white

10.60
#4E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E77
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E77#FFFFFF#000000##FFFFFF
##4E2E771.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#193E75
Tritanopia (blue-blind)
#463D4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2e77;
/* rgb */ color: rgb(78, 46, 119);
/* oklch */ color: oklch(37.9% 0.121 301.0);
Tailwind
colors: {
  custom: {
    50: '#83689f',
    500: '#4e2e77',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e77;
$custom-light: #83689f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e77",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 266.301,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.12085,
    "h": 301
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#4E2E77
secondary
#85A859
accent
#D4549C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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