#4E234F#4E234F

#4E234F is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.5% C 0.091 H 326.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#4E234F
RGBrgb(78, 35, 79)
HSLhsl(299, 39%, 22%)
HSVhsv(299, 56%, 31%)
CMYKcmyk(1.3%, 55.7%, 0%, 69%)
CIE-LABlab(21.53, 27.48, -18.28)
CIE-LCHlch(21.53, 33.01, 326.38°)
OKLaboklab(33.5% 0.076 -0.0503)
OKLCHoklch(33.5% 0.091 326.5)
XYZxyz(5.1541, 3.3866, 7.7778)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E234F #244F23
analogous
#38234F #4E234F #4F233A
triadic
#4E234F #4F4E23 #234F4E
tetradic
#4E234F #4F3823 #244F23 #233A4F
square
#4E234F #4F3823 #244F23 #233A4F
split-complementary
#4E234F #3A4F23 #234F38
monochromatic
#150915 #241025 #4E234F #783679 #A249A4

Accessibility & contrast

On white

12.52
#4E234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E234F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E234F#FFFFFF#000000##FFFFFF
##4E234F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#2B364E
Tritanopia (blue-blind)
#502835
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e234f;
/* rgb */ color: rgb(78, 35, 79);
/* oklch */ color: oklch(33.5% 0.091 326.5);
Tailwind
colors: {
  custom: {
    50: '#816080',
    500: '#4e234f',
    950: '#000000',
  },
}
SCSS
$custom: #4e234f;
$custom-light: #816080;
$custom-dark: #000000;
JSON
{
  "hex": "#4e234f",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 298.636,
    "s": 38.596,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.09109,
    "h": 326.5
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#4E234F
secondary
#4C834B
accent
#CF595C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E234F

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

Preview Lab → · Contrast checker → · Palette generator →

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