#4E2E5C#4E2E5C

#4E2E5C is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.1% C 0.085 H 314.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4E2E5C
RGBrgb(78, 46, 92)
HSLhsl(282, 33%, 27%)
HSVhsv(282, 50%, 36%)
CMYKcmyk(15.2%, 50%, 0%, 63.9%)
CIE-LABlab(24.79, 23.84, -21.81)
CIE-LCHlch(24.79, 32.31, 317.55°)
OKLaboklab(36.14% 0.0602 -0.0605)
OKLCHoklch(36.14% 0.085 314.8)
XYZxyz(6.0503, 4.3466, 10.6434)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E5C #3C5C2E
analogous
#372E5C #4E2E5C #5C2E53
triadic
#4E2E5C #5C4E2E #2E5C4E
tetradic
#4E2E5C #5C372E #3C5C2E #2E535C
square
#4E2E5C #5C372E #3C5C2E #2E535C
split-complementary
#4E2E5C #535C2E #2E5C37
monochromatic
#110A14 #2B1A33 #4E2E5C #714285 #9259AC

Accessibility & contrast

On white

11.23
#4E2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2E5C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E5C#FFFFFF#000000##FFFFFF
##4E2E5C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#2E3C5B
Tritanopia (blue-blind)
#4D3540
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2e5c;
/* rgb */ color: rgb(78, 46, 92);
/* oklch */ color: oklch(36.1% 0.085 314.8);
Tailwind
colors: {
  custom: {
    50: '#81688a',
    500: '#4e2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e5c;
$custom-light: #81688a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e5c",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 281.739,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36141,
    "c": 0.08536,
    "h": 314.8
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#4E2E5C
secondary
#688E58
accent
#C95E7F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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