#4E2347#4E2347

#4E2347 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.1% C 0.083 H 333.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2347
RGBrgb(78, 35, 71)
HSLhsl(310, 38%, 22%)
HSVhsv(310, 55%, 31%)
CMYKcmyk(0%, 55.1%, 9%, 69.4%)
CIE-LABlab(21.12, 25.84, -13.50)
CIE-LCHlch(21.12, 29.15, 332.41°)
OKLaboklab(33.06% 0.0743 -0.0366)
OKLCHoklch(33.06% 0.083 333.8)
XYZxyz(4.8802, 3.2770, 6.3355)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2347 #234E2A
analogous
#40234E #4E2347 #4E2332
triadic
#4E2347 #474E23 #23474E
tetradic
#4E2347 #4E4023 #234E2A #23324E
square
#4E2347 #4E4023 #234E2A #23324E
split-complementary
#4E2347 #324E23 #234E40
monochromatic
#150913 #241021 #4E2347 #78366D #A24994

Accessibility & contrast

On white

12.69
#4E2347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2347
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2347#FFFFFF#000000##FFFFFF
##4E23471.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F48
Deuteranopia (green-blind)
#2F3546
Tritanopia (blue-blind)
#512631
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2347;
/* rgb */ color: rgb(78, 35, 71);
/* oklch */ color: oklch(33.1% 0.083 333.8);
Tailwind
colors: {
  custom: {
    50: '#81607a',
    500: '#4e2347',
    950: '#000000',
  },
}
SCSS
$custom: #4e2347;
$custom-light: #81607a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2347",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 71
  },
  "hsl": {
    "h": 309.767,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.08283,
    "h": 333.8
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#4E2347
secondary
#4B8254
accent
#CE6D5A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2347

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

Preview Lab → · Contrast checker → · Palette generator →

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