#4E2F4C#4E2F4C

#4E2F4C is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.5% C 0.064 H 329.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2F4C
RGBrgb(78, 47, 76)
HSLhsl(304, 25%, 25%)
HSVhsv(304, 40%, 31%)
CMYKcmyk(0%, 39.7%, 2.6%, 69.4%)
CIE-LABlab(24.24, 19.50, -12.07)
CIE-LCHlch(24.24, 22.94, 328.25°)
OKLaboklab(35.47% 0.0546 -0.0327)
OKLCHoklch(35.47% 0.064 329.1)
XYZxyz(5.4628, 4.1748, 7.3541)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F4C #2F4E31
analogous
#412F4E #4E2F4C #4E2F3D
triadic
#4E2F4C #4C4E2F #2F4C4E
tetradic
#4E2F4C #4E412F #2F4E31 #2F3D4E
square
#4E2F4C #4E412F #2F4E31 #2F3D4E
split-complementary
#4E2F4C #3D4E2F #2F4E41
monochromatic
#130C13 #281827 #4E2F4C #744671 #9A5D96

Accessibility & contrast

On white

11.44
#4E2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F4C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F4C#FFFFFF#000000##FFFFFF
##4E2F4C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#353B4B
Tritanopia (blue-blind)
#50313A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2f4c;
/* rgb */ color: rgb(78, 47, 76);
/* oklch */ color: oklch(35.5% 0.064 329.1);
Tailwind
colors: {
  custom: {
    50: '#80687e',
    500: '#4e2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f4c;
$custom-light: #80687e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f4c",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 303.871,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.06368,
    "h": 329.1
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#4E2F4C
secondary
#5A7F5C
accent
#C16C67
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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