#4E3456#4E3456

#4E3456 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.0% C 0.066 H 318.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4E3456
RGBrgb(78, 52, 86)
HSLhsl(286, 25%, 27%)
HSVhsv(286, 40%, 34%)
CMYKcmyk(9.3%, 39.5%, 0%, 66.3%)
CIE-LABlab(26.00, 18.58, -15.97)
CIE-LCHlch(26.00, 24.50, 319.32°)
OKLaboklab(36.96% 0.0487 -0.0438)
OKLCHoklch(36.96% 0.066 318)
XYZxyz(6.0494, 4.7477, 9.4000)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3456 #3C5634
analogous
#3D3456 #4E3456 #56344D
triadic
#4E3456 #564E34 #34564E
tetradic
#4E3456 #563D34 #3C5634 #344D56
square
#4E3456 #563D34 #3C5634 #344D56
split-complementary
#4E3456 #4D5634 #34563D
monochromatic
#110C13 #2B1D30 #4E3456 #714B7C #9263A1

Accessibility & contrast

On white

10.77
#4E3456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E3456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3456
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3456#FFFFFF#000000##FFFFFF
##4E34561.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#363E55
Tritanopia (blue-blind)
#4E3841
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3456;
/* rgb */ color: rgb(78, 52, 86);
/* oklch */ color: oklch(37.0% 0.066 318.0);
Tailwind
colors: {
  custom: {
    50: '#806c85',
    500: '#4e3456',
    950: '#000000',
  },
}
SCSS
$custom: #4e3456;
$custom-light: #806c85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3456",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 86
  },
  "hsl": {
    "h": 285.882,
    "s": 24.638,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.06551,
    "h": 318
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#4E3456
secondary
#68875F
accent
#C1677C
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #4E3456

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

Preview Lab → · Contrast checker → · Palette generator →

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