#4E2E51#4E2E51

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

Color values

HEX#4E2E51
RGBrgb(78, 46, 81)
HSLhsl(295, 28%, 25%)
HSVhsv(295, 43%, 32%)
CMYKcmyk(3.7%, 43.2%, 0%, 68.2%)
CIE-LABlab(24.22, 21.25, -15.43)
CIE-LCHlch(24.22, 26.26, 324.01°)
OKLaboklab(35.53% 0.0578 -0.0422)
OKLCHoklch(35.53% 0.072 323.9)
XYZxyz(5.6039, 4.1680, 8.2923)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E51 #31512E
analogous
#3D2E51 #4E2E51 #512E43
triadic
#4E2E51 #514E2E #2E514E
tetradic
#4E2E51 #513D2E #31512E #2E4351
square
#4E2E51 #513D2E #31512E #2E4351
split-complementary
#4E2E51 #43512E #2E513D
monochromatic
#130B14 #28182A #4E2E51 #744478 #995A9F

Accessibility & contrast

On white

11.45
#4E2E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E51
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E51#FFFFFF#000000##FFFFFF
##4E2E511.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#333B50
Tritanopia (blue-blind)
#4F323B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2e51;
/* rgb */ color: rgb(78, 46, 81);
/* oklch */ color: oklch(35.5% 0.072 323.9);
Tailwind
colors: {
  custom: {
    50: '#806782',
    500: '#4e2e51',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e51;
$custom-light: #806782;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e51",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 294.857,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.07159,
    "h": 323.9
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#4E2E51
secondary
#5C8358
accent
#C4646C
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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