#4E2F5D#4E2F5D

#4E2F5D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.4% C 0.085 H 313.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2F5D
RGBrgb(78, 47, 93)
HSLhsl(280, 33%, 27%)
HSVhsv(280, 49%, 36%)
CMYKcmyk(16.1%, 49.5%, 0%, 63.5%)
CIE-LABlab(25.09, 23.46, -21.99)
CIE-LCHlch(25.09, 32.16, 316.85°)
OKLaboklab(36.38% 0.0587 -0.0611)
OKLCHoklch(36.38% 0.085 313.9)
XYZxyz(6.1339, 4.4432, 10.8883)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F5D #3E5D2F
analogous
#372F5D #4E2F5D #5D2F55
triadic
#4E2F5D #5D4E2F #2F5D4E
tetradic
#4E2F5D #5D372F #3E5D2F #2F555D
square
#4E2F5D #5D372F #3E5D2F #2F555D
split-complementary
#4E2F5D #555D2F #2F5D37
monochromatic
#110A14 #2C1A34 #4E2F5D #704486 #915BAC

Accessibility & contrast

On white

11.12
#4E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F5D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F5D#FFFFFF#000000##FFFFFF
##4E2F5D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#2E3C5C
Tritanopia (blue-blind)
#4D3641
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f5d;
/* rgb */ color: rgb(78, 47, 93);
/* oklch */ color: oklch(36.4% 0.085 313.9);
Tailwind
colors: {
  custom: {
    50: '#81688b',
    500: '#4e2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f5d;
$custom-light: #81688b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f5d",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 280.435,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36382,
    "c": 0.08473,
    "h": 313.9
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#4E2F5D
secondary
#6B8F59
accent
#C95F81
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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