#4E2E52#4E2E52

#4E2E52 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.6% C 0.073 H 322.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4E2E52
RGBrgb(78, 46, 82)
HSLhsl(293, 28%, 25%)
HSVhsv(293, 44%, 32%)
CMYKcmyk(4.9%, 43.9%, 0%, 67.8%)
CIE-LABlab(24.27, 21.47, -16.02)
CIE-LCHlch(24.27, 26.79, 323.28°)
OKLaboklab(35.58% 0.0581 -0.0439)
OKLCHoklch(35.58% 0.073 322.9)
XYZxyz(5.6417, 4.1831, 8.4912)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E52 #32522E
analogous
#3C2E52 #4E2E52 #522E44
triadic
#4E2E52 #524E2E #2E524E
tetradic
#4E2E52 #523C2E #32522E #2E4452
square
#4E2E52 #523C2E #32522E #2E4452
split-complementary
#4E2E52 #44522E #2E523C
monochromatic
#130B14 #29182B #4E2E52 #734479 #995AA0

Accessibility & contrast

On white

11.43
#4E2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2E52
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E52#FFFFFF#000000##FFFFFF
##4E2E521.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#323B51
Tritanopia (blue-blind)
#4F323C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2e52;
/* rgb */ color: rgb(78, 46, 82);
/* oklch */ color: oklch(35.6% 0.073 322.9);
Tailwind
colors: {
  custom: {
    50: '#806782',
    500: '#4e2e52',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e52;
$custom-light: #806782;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e52",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 293.333,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.0728,
    "h": 322.9
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#4E2E52
secondary
#5D8458
accent
#C4636E
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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