#4E2F56#4E2F56

#4E2F56 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.0% C 0.076 H 319.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E2F56
RGBrgb(78, 47, 86)
HSLhsl(288, 29%, 26%)
HSVhsv(288, 45%, 34%)
CMYKcmyk(9.3%, 45.3%, 0%, 66.3%)
CIE-LABlab(24.72, 21.77, -17.97)
CIE-LCHlch(24.72, 28.23, 320.46°)
OKLaboklab(35.99% 0.0573 -0.0495)
OKLCHoklch(35.99% 0.076 319.2)
XYZxyz(5.8379, 4.3248, 9.3295)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F56 #37562F
analogous
#3A2F56 #4E2F56 #562F4A
triadic
#4E2F56 #564E2F #2F564E
tetradic
#4E2F56 #563A2F #37562F #2F4A56
square
#4E2F56 #563A2F #37562F #2F4A56
split-complementary
#4E2F56 #4A562F #2F563A
monochromatic
#120B14 #2A192E #4E2F56 #72457E #965AA5

Accessibility & contrast

On white

11.26
#4E2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F56
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F56#FFFFFF#000000##FFFFFF
##4E2F561.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293957
Deuteranopia (green-blind)
#313C55
Tritanopia (blue-blind)
#4E343E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f56;
/* rgb */ color: rgb(78, 47, 86);
/* oklch */ color: oklch(36.0% 0.076 319.2);
Tailwind
colors: {
  custom: {
    50: '#806885',
    500: '#4e2f56',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f56;
$custom-light: #806885;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f56",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 287.692,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35986,
    "c": 0.07572,
    "h": 319.2
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#4E2F56
secondary
#638759
accent
#C66277
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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