#4E2357#4E2357

#4E2357 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.100 H 320.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#4E2357
RGBrgb(78, 35, 87)
HSLhsl(290, 43%, 24%)
HSVhsv(290, 60%, 34%)
CMYKcmyk(10.3%, 59.8%, 0%, 65.9%)
CIE-LABlab(21.98, 29.25, -22.92)
CIE-LCHlch(21.98, 37.16, 321.91°)
OKLaboklab(33.97% 0.0771 -0.0637)
OKLCHoklch(33.97% 0.1 320.4)
XYZxyz(5.4630, 3.5101, 9.4047)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2357 #2C5723
analogous
#342357 #4E2357 #572346
triadic
#4E2357 #574E23 #23574E
tetradic
#4E2357 #573423 #2C5723 #234657
square
#4E2357 #573423 #2C5723 #234657
split-complementary
#4E2357 #465723 #235734
monochromatic
#140916 #27112B #4E2357 #753583 #9C46AE

Accessibility & contrast

On white

12.34
#4E2357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2357
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2357#FFFFFF#000000##FFFFFF
##4E23571.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#4F2B39
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2357;
/* rgb */ color: rgb(78, 35, 87);
/* oklch */ color: oklch(34.0% 0.100 320.4);
Tailwind
colors: {
  custom: {
    50: '#816086',
    500: '#4e2357',
    950: '#000000',
  },
}
SCSS
$custom: #4e2357;
$custom-light: #816086;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2357",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 289.615,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33974,
    "c": 0.09995,
    "h": 320.4
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#4E2357
secondary
#568B4B
accent
#D2556B
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2357

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

Preview Lab → · Contrast checker → · Palette generator →

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