#4E234E#4E234E

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

Color values

HEX#4E234E
RGBrgb(78, 35, 78)
HSLhsl(300, 38%, 22%)
HSVhsv(300, 55%, 31%)
CMYKcmyk(0%, 55.1%, 0%, 69.4%)
CIE-LABlab(21.48, 27.27, -17.69)
CIE-LCHlch(21.48, 32.51, 327.04°)
OKLaboklab(33.44% 0.0758 -0.0486)
OKLCHoklch(33.44% 0.09 327.4)
XYZxyz(5.1180, 3.3721, 7.5876)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E234E #234E23
analogous
#39234E #4E234E #4E2339
triadic
#4E234E #4E4E23 #234E4E
tetradic
#4E234E #4E3923 #234E23 #23394E
square
#4E234E #4E3923 #234E23 #23394E
split-complementary
#4E234E #394E23 #234E39
monochromatic
#150915 #241024 #4E234E #783678 #A249A2

Accessibility & contrast

On white

12.54
#4E234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E234E
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E234E#FFFFFF#000000##FFFFFF
##4E234E1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#502835
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e234e;
/* rgb */ color: rgb(78, 35, 78);
/* oklch */ color: oklch(33.4% 0.090 327.4);
Tailwind
colors: {
  custom: {
    50: '#81607f',
    500: '#4e234e',
    950: '#000000',
  },
}
SCSS
$custom: #4e234e;
$custom-light: #81607f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e234e",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33438,
    "c": 0.09001,
    "h": 327.4
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#4E234E
secondary
#4B824B
accent
#CE5A5A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E234E

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

Preview Lab → · Contrast checker → · Palette generator →

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