#4E2B5E#4E2B5E

#4E2B5E is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.7% C 0.094 H 314.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4E2B5E
RGBrgb(78, 43, 94)
HSLhsl(281, 37%, 27%)
HSVhsv(281, 54%, 37%)
CMYKcmyk(17%, 54.3%, 0%, 63.1%)
CIE-LABlab(24.18, 26.18, -24.08)
CIE-LCHlch(24.18, 35.57, 317.40°)
OKLaboklab(35.73% 0.0653 -0.0671)
OKLCHoklch(35.73% 0.094 314.3)
XYZxyz(6.0258, 4.1558, 11.0722)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B5E #3B5E2B
analogous
#352B5E #4E2B5E #5E2B55
triadic
#4E2B5E #5E4E2B #2B5E4E
tetradic
#4E2B5E #5E352B #3B5E2B #2B555E
square
#4E2B5E #5E352B #3B5E2B #2B555E
split-complementary
#4E2B5E #555E2B #2B5E35
monochromatic
#110A15 #2B1834 #4E2B5E #713E88 #9353B0

Accessibility & contrast

On white

11.47
#4E2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B5E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B5E#FFFFFF#000000##FFFFFF
##4E2B5E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203760
Deuteranopia (green-blind)
#2A3A5D
Tritanopia (blue-blind)
#4D3340
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2b5e;
/* rgb */ color: rgb(78, 43, 94);
/* oklch */ color: oklch(35.7% 0.094 314.3);
Tailwind
colors: {
  custom: {
    50: '#81668c',
    500: '#4e2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b5e;
$custom-light: #81668c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b5e",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 281.176,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.09363,
    "h": 314.3
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#4E2B5E
secondary
#679055
accent
#CD5B7F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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