#4E234D#4E234D

#4E234D is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.4% C 0.089 H 328.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4E234D
RGBrgb(78, 35, 77)
HSLhsl(301, 38%, 22%)
HSVhsv(301, 55%, 31%)
CMYKcmyk(0%, 55.1%, 1.3%, 69.4%)
CIE-LABlab(21.42, 27.06, -17.10)
CIE-LCHlch(21.42, 32.01, 327.72°)
OKLaboklab(33.38% 0.0756 -0.0469)
OKLCHoklch(33.38% 0.089 328.2)
XYZxyz(5.0824, 3.3579, 7.4002)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E234D #234E24
analogous
#3A234E #4E234D #4E2338
triadic
#4E234D #4D4E23 #234D4E
tetradic
#4E234D #4E3A23 #234E24 #23384E
square
#4E234D #4E3A23 #234E24 #23384E
split-complementary
#4E234D #384E23 #234E3A
monochromatic
#150915 #241023 #4E234D #783677 #A249A0

Accessibility & contrast

On white

12.56
#4E234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E234D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E234D#FFFFFF#000000##FFFFFF
##4E234D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#2C354C
Tritanopia (blue-blind)
#502734
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e234d;
/* rgb */ color: rgb(78, 35, 77);
/* oklch */ color: oklch(33.4% 0.089 328.2);
Tailwind
colors: {
  custom: {
    50: '#81607f',
    500: '#4e234d',
    950: '#000000',
  },
}
SCSS
$custom: #4e234d;
$custom-light: #81607f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e234d",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 301.395,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.08895,
    "h": 328.2
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#4E234D
secondary
#4B824C
accent
#CE5D5A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E234D

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

Preview Lab → · Contrast checker → · Palette generator →

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