#4E2B5D#4E2B5D

#4E2B5D is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.7% C 0.092 H 314.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4E2B5D
RGBrgb(78, 43, 93)
HSLhsl(282, 37%, 27%)
HSVhsv(282, 54%, 36%)
CMYKcmyk(16.1%, 53.8%, 0%, 63.5%)
CIE-LABlab(24.12, 25.94, -23.51)
CIE-LCHlch(24.12, 35.01, 317.81°)
OKLaboklab(35.67% 0.0652 -0.0654)
OKLCHoklch(35.67% 0.092 314.9)
XYZxyz(5.9812, 4.1379, 10.8374)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B5D #3A5D2B
analogous
#352B5D #4E2B5D #5D2B53
triadic
#4E2B5D #5D4E2B #2B5D4E
tetradic
#4E2B5D #5D352B #3A5D2B #2B535D
square
#4E2B5D #5D352B #3A5D2B #2B535D
split-complementary
#4E2B5D #535D2B #2B5D35
monochromatic
#120A15 #2B1833 #4E2B5D #713E87 #9453AF

Accessibility & contrast

On white

11.49
#4E2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B5D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B5D#FFFFFF#000000##FFFFFF
##4E2B5D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375F
Deuteranopia (green-blind)
#2B3A5C
Tritanopia (blue-blind)
#4D333F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2b5d;
/* rgb */ color: rgb(78, 43, 93);
/* oklch */ color: oklch(35.7% 0.092 314.9);
Tailwind
colors: {
  custom: {
    50: '#81668b',
    500: '#4e2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b5d;
$custom-light: #81668b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b5d",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 282,
    "s": 36.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35666,
    "c": 0.09237,
    "h": 314.9
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#4E2B5D
secondary
#668F55
accent
#CD5B7D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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