#4E234A#4E234A

#4E234A is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.2% C 0.086 H 330.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#4E234A
RGBrgb(78, 35, 74)
HSLhsl(306, 38%, 22%)
HSVhsv(306, 55%, 31%)
CMYKcmyk(0%, 55.1%, 5.1%, 69.4%)
CIE-LABlab(21.27, 26.44, -15.31)
CIE-LCHlch(21.27, 30.55, 329.93°)
OKLaboklab(33.22% 0.075 -0.0417)
OKLCHoklch(33.22% 0.086 330.9)
XYZxyz(4.9789, 3.3165, 6.8551)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E234A #234E27
analogous
#3D234E #4E234A #4E2335
triadic
#4E234A #4A4E23 #234A4E
tetradic
#4E234A #4E3D23 #234E27 #23354E
square
#4E234A #4E3D23 #234E27 #23354E
split-complementary
#4E234A #354E23 #234E3D
monochromatic
#150914 #241022 #4E234A #783672 #A2499A

Accessibility & contrast

On white

12.63
#4E234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E234A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E234A#FFFFFF#000000##FFFFFF
##4E234A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4B
Deuteranopia (green-blind)
#2E3549
Tritanopia (blue-blind)
#512633
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e234a;
/* rgb */ color: rgb(78, 35, 74);
/* oklch */ color: oklch(33.2% 0.086 330.9);
Tailwind
colors: {
  custom: {
    50: '#81607c',
    500: '#4e234a',
    950: '#000000',
  },
}
SCSS
$custom: #4e234a;
$custom-light: #81607c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e234a",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 305.581,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33217,
    "c": 0.08584,
    "h": 330.9
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#4E234A
secondary
#4B8250
accent
#CE655A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E234A

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

Preview Lab → · Contrast checker → · Palette generator →

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