#4E345B#4E345B

#4E345B is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.2% C 0.072 H 313.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4E345B
RGBrgb(78, 52, 91)
HSLhsl(280, 27%, 28%)
HSVhsv(280, 43%, 36%)
CMYKcmyk(14.3%, 42.9%, 0%, 64.3%)
CIE-LABlab(26.25, 19.80, -18.87)
CIE-LCHlch(26.25, 27.35, 316.37°)
OKLaboklab(37.22% 0.05 -0.0521)
OKLCHoklch(37.22% 0.072 313.8)
XYZxyz(6.2579, 4.8311, 10.4983)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E345B #415B34
analogous
#3A345B #4E345B #5B3454
triadic
#4E345B #5B4E34 #345B4E
tetradic
#4E345B #5B3A34 #415B34 #34545B
square
#4E345B #5B3A34 #415B34 #34545B
split-complementary
#4E345B #545B34 #345B3A
monochromatic
#110B13 #2D1E34 #4E345B #6F4A82 #9063A6

Accessibility & contrast

On white

10.68
#4E345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E345B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E345B#FFFFFF#000000##FFFFFF
##4E345B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5C
Deuteranopia (green-blind)
#333F5A
Tritanopia (blue-blind)
#4D3943
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e345b;
/* rgb */ color: rgb(78, 52, 91);
/* oklch */ color: oklch(37.2% 0.072 313.8);
Tailwind
colors: {
  custom: {
    50: '#806c89',
    500: '#4e345b',
    950: '#000000',
  },
}
SCSS
$custom: #4e345b;
$custom-light: #806c89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e345b",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 280,
    "s": 27.273,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.07218,
    "h": 313.8
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#4E345B
secondary
#6E8C5F
accent
#C46484
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070B
muted
#7C7A7C

Preview Lab

Preview with #4E345B

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

Preview Lab → · Contrast checker → · Palette generator →

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