#4E3758#4E3758

#4E3758 is a dark, moderate purple. Relative luminance 0.051; OKLCH L 37.7% C 0.062 H 315.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4E3758
RGBrgb(78, 55, 88)
HSLhsl(282, 23%, 28%)
HSVhsv(282, 38%, 35%)
CMYKcmyk(11.4%, 37.5%, 0%, 65.5%)
CIE-LABlab(26.90, 17.12, -15.90)
CIE-LCHlch(26.90, 23.37, 317.12°)
OKLaboklab(37.66% 0.0441 -0.0436)
OKLCHoklch(37.66% 0.062 315.3)
XYZxyz(6.2693, 5.0568, 9.8764)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3758 #415837
analogous
#3D3758 #4E3758 #583751
triadic
#4E3758 #584E37 #37584E
tetradic
#4E3758 #583D37 #415837 #375158
square
#4E3758 #583D37 #415837 #375158
split-complementary
#4E3758 #515837 #37583D
monochromatic
#110C13 #2D1F32 #4E3758 #6F4F7E #9068A1

Accessibility & contrast

On white

10.44
#4E3758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E3758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3758
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3758#FFFFFF#000000##FFFFFF
##4E37581.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#374057
Tritanopia (blue-blind)
#4E3B43
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3758;
/* rgb */ color: rgb(78, 55, 88);
/* oklch */ color: oklch(37.7% 0.062 315.3);
Tailwind
colors: {
  custom: {
    50: '#806e87',
    500: '#4e3758',
    950: '#000000',
  },
}
SCSS
$custom: #4e3758;
$custom-light: #806e87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3758",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 88
  },
  "hsl": {
    "h": 281.818,
    "s": 23.077,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.062,
    "h": 315.3
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#4E3758
secondary
#6E8862
accent
#C06883
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #4E3758

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

Preview Lab → · Contrast checker → · Palette generator →

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