#4E2F4B#4E2F4B

#4E2F4B is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.4% C 0.063 H 330.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4E2F4B
RGBrgb(78, 47, 75)
HSLhsl(306, 25%, 25%)
HSVhsv(306, 40%, 31%)
CMYKcmyk(0%, 39.7%, 3.8%, 69.4%)
CIE-LABlab(24.20, 19.29, -11.47)
CIE-LCHlch(24.20, 22.44, 329.27°)
OKLaboklab(35.42% 0.0543 -0.031)
OKLCHoklch(35.42% 0.063 330.3)
XYZxyz(5.4283, 4.1610, 7.1725)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F4B #2F4E32
analogous
#422F4E #4E2F4B #4E2F3C
triadic
#4E2F4B #4B4E2F #2F4B4E
tetradic
#4E2F4B #4E422F #2F4E32 #2F3C4E
square
#4E2F4B #4E422F #2F4E32 #2F3C4E
split-complementary
#4E2F4B #3C4E2F #2F4E42
monochromatic
#130C12 #281826 #4E2F4B #744670 #9A5D94

Accessibility & contrast

On white

11.46
#4E2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F4B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F4B#FFFFFF#000000##FFFFFF
##4E2F4B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#363B4A
Tritanopia (blue-blind)
#503139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2f4b;
/* rgb */ color: rgb(78, 47, 75);
/* oklch */ color: oklch(35.4% 0.063 330.3);
Tailwind
colors: {
  custom: {
    50: '#80687d',
    500: '#4e2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f4b;
$custom-light: #80687d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f4b",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 305.806,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.06256,
    "h": 330.3
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#4E2F4B
secondary
#5A7F5D
accent
#C16F67
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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