#4E234B#4E234B

#4E234B is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.3% C 0.087 H 330.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#4E234B
RGBrgb(78, 35, 75)
HSLhsl(304, 38%, 22%)
HSVhsv(304, 55%, 31%)
CMYKcmyk(0%, 55.1%, 3.8%, 69.4%)
CIE-LABlab(21.32, 26.65, -15.90)
CIE-LCHlch(21.32, 31.03, 329.17°)
OKLaboklab(33.27% 0.0752 -0.0435)
OKLCHoklch(33.27% 0.087 330)
XYZxyz(5.0129, 3.3301, 7.0340)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E234B #234E26
analogous
#3C234E #4E234B #4E2336
triadic
#4E234B #4B4E23 #234B4E
tetradic
#4E234B #4E3C23 #234E26 #23364E
square
#4E234B #4E3C23 #234E26 #23364E
split-complementary
#4E234B #364E23 #234E3C
monochromatic
#150914 #241022 #4E234B #783674 #A2499C

Accessibility & contrast

On white

12.61
#4E234B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E234B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E234B#FFFFFF#000000##FFFFFF
##4E234B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4C
Deuteranopia (green-blind)
#2D354A
Tritanopia (blue-blind)
#512733
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e234b;
/* rgb */ color: rgb(78, 35, 75);
/* oklch */ color: oklch(33.3% 0.087 330.0);
Tailwind
colors: {
  custom: {
    50: '#81607d',
    500: '#4e234b',
    950: '#000000',
  },
}
SCSS
$custom: #4e234b;
$custom-light: #81607d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e234b",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 75
  },
  "hsl": {
    "h": 304.186,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.08686,
    "h": 330
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#4E234B
secondary
#4B824F
accent
#CE625A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E234B

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

Preview Lab → · Contrast checker → · Palette generator →

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