#4E2358#4E2358

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

Color values

HEX#4E2358
RGBrgb(78, 35, 88)
HSLhsl(289, 43%, 24%)
HSVhsv(289, 60%, 35%)
CMYKcmyk(11.4%, 60.2%, 0%, 65.5%)
CIE-LABlab(22.04, 29.48, -23.50)
CIE-LCHlch(22.04, 37.69, 321.44°)
OKLaboklab(34.04% 0.0772 -0.0653)
OKLCHoklch(34.04% 0.101 319.7)
XYZxyz(5.5041, 3.5266, 9.6214)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2358 #2D5823
analogous
#342358 #4E2358 #582348
triadic
#4E2358 #584E23 #23584E
tetradic
#4E2358 #583423 #2D5823 #234858
square
#4E2358 #583423 #2D5823 #234858
split-complementary
#4E2358 #485823 #235834
monochromatic
#130916 #27122C #4E2358 #753484 #9C46B0

Accessibility & contrast

On white

12.32
#4E2358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E2358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2358
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2358#FFFFFF#000000##FFFFFF
##4E23581.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#273657
Tritanopia (blue-blind)
#4E2B3A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2358;
/* rgb */ color: rgb(78, 35, 88);
/* oklch */ color: oklch(34.0% 0.101 319.7);
Tailwind
colors: {
  custom: {
    50: '#816087',
    500: '#4e2358',
    950: '#000000',
  },
}
SCSS
$custom: #4e2358;
$custom-light: #816087;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2358",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 288.679,
    "s": 43.089,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34036,
    "c": 0.10109,
    "h": 319.7
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#4E2358
secondary
#578C4B
accent
#D3556D
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2358

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

Preview Lab → · Contrast checker → · Palette generator →

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