#4E2356#4E2356

#4E2356 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.9% C 0.099 H 321.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2356
RGBrgb(78, 35, 86)
HSLhsl(291, 42%, 24%)
HSVhsv(291, 59%, 34%)
CMYKcmyk(9.3%, 59.3%, 0%, 66.3%)
CIE-LABlab(21.92, 29.02, -22.35)
CIE-LCHlch(21.92, 36.63, 322.40°)
OKLaboklab(33.91% 0.077 -0.062)
OKLCHoklch(33.91% 0.099 321.1)
XYZxyz(5.4224, 3.4939, 9.1911)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2356 #2B5623
analogous
#342356 #4E2356 #562344
triadic
#4E2356 #564E23 #23564E
tetradic
#4E2356 #563423 #2B5623 #234456
square
#4E2356 #563423 #2B5623 #234456
split-complementary
#4E2356 #445623 #235634
monochromatic
#140916 #27112B #4E2356 #753581 #9D46AD

Accessibility & contrast

On white

12.36
#4E2356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2356
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2356#FFFFFF#000000##FFFFFF
##4E23561.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3158
Deuteranopia (green-blind)
#283655
Tritanopia (blue-blind)
#4F2A39
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2356;
/* rgb */ color: rgb(78, 35, 86);
/* oklch */ color: oklch(33.9% 0.099 321.1);
Tailwind
colors: {
  custom: {
    50: '#816086',
    500: '#4e2356',
    950: '#000000',
  },
}
SCSS
$custom: #4e2356;
$custom-light: #816086;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2356",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 290.588,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.09882,
    "h": 321.1
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#4E2356
secondary
#558A4B
accent
#D25669
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2356

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

Preview Lab → · Contrast checker → · Palette generator →

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