#4E376B#4E376B

#4E376B is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.089 H 302.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4E376B
RGBrgb(78, 55, 107)
HSLhsl(267, 32%, 32%)
HSVhsv(267, 49%, 42%)
CMYKcmyk(27.1%, 48.6%, 0%, 58%)
CIE-LABlab(27.88, 22.03, -26.65)
CIE-LCHlch(27.88, 34.58, 309.58°)
OKLaboklab(38.73% 0.0483 -0.0746)
OKLCHoklch(38.73% 0.089 302.9)
XYZxyz(7.1613, 5.4136, 14.5747)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E376B #546B37
analogous
#373A6B #4E376B #68376B
triadic
#4E376B #6B4E37 #376B4E
tetradic
#4E376B #6B373A #546B37 #376B68
square
#4E376B #6B373A #546B37 #376B68
split-complementary
#4E376B #6B6837 #3A6B37
monochromatic
#130D1A #312243 #4E376B #6B4C93 #8A6AB2

Accessibility & contrast

On white

10.08
#4E376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E376B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E376B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E376B#FFFFFF#000000##FFFFFF
##4E376B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416D
Deuteranopia (green-blind)
#2E426A
Tritanopia (blue-blind)
#49404C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e376b;
/* rgb */ color: rgb(78, 55, 107);
/* oklch */ color: oklch(38.7% 0.089 302.9);
Tailwind
colors: {
  custom: {
    50: '#816e95',
    500: '#4e376b',
    950: '#000000',
  },
}
SCSS
$custom: #4e376b;
$custom-light: #816e95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e376b",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 266.538,
    "s": 32.099,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.08884,
    "h": 302.9
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#4E376B
secondary
#829B62
accent
#C8609A
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E376B

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

Preview Lab → · Contrast checker → · Palette generator →

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