#4E377A#4E377A

#4E377A is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.7% C 0.110 H 296.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4E377A
RGBrgb(78, 55, 122)
HSLhsl(261, 38%, 35%)
HSVhsv(261, 55%, 48%)
CMYKcmyk(36.1%, 54.9%, 0%, 52.2%)
CIE-LABlab(28.79, 26.24, -34.73)
CIE-LCHlch(28.79, 43.53, 307.07°)
OKLaboklab(39.7% 0.0499 -0.0982)
OKLCHoklch(39.7% 0.11 296.9)
XYZxyz(8.0200, 5.7571, 19.0973)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E377A #637A37
analogous
#37427A #4E377A #70377A
triadic
#4E377A #7A4E37 #377A4E
tetradic
#4E377A #7A3742 #637A37 #377A70
square
#4E377A #7A3742 #637A37 #377A70
split-complementary
#4E377A #7A7037 #427A37
monochromatic
#181126 #332450 #4E377A #694AA4 #896EBE

Accessibility & contrast

On white

9.76
#4E377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E377A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E377A#FFFFFF#000000##FFFFFF
##4E377A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#444453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e377a;
/* rgb */ color: rgb(78, 55, 122);
/* oklch */ color: oklch(39.7% 0.110 296.9);
Tailwind
colors: {
  custom: {
    50: '#826ea1',
    500: '#4e377a',
    950: '#000000',
  },
}
SCSS
$custom: #4e377a;
$custom-light: #826ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e377a",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 260.597,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.11015,
    "h": 296.9
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#4E377A
secondary
#90A666
accent
#CE5AA6
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E377A

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

Preview Lab → · Contrast checker → · Palette generator →

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