#4E2756#4E2756

#4E2756 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.091 H 320.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2756
RGBrgb(78, 39, 86)
HSLhsl(290, 38%, 25%)
HSVhsv(290, 55%, 34%)
CMYKcmyk(9.3%, 54.7%, 0%, 66.3%)
CIE-LABlab(22.80, 26.69, -20.96)
CIE-LCHlch(22.80, 33.94, 321.85°)
OKLaboklab(34.56% 0.0706 -0.058)
OKLCHoklch(34.56% 0.091 320.6)
XYZxyz(5.5469, 3.7429, 9.2326)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2756 #2F5627
analogous
#372756 #4E2756 #562747
triadic
#4E2756 #564E27 #27564E
tetradic
#4E2756 #563727 #2F5627 #274756
square
#4E2756 #563727 #2F5627 #274756
split-complementary
#4E2756 #475627 #275637
monochromatic
#130A15 #28142C #4E2756 #743A80 #9A4DAA

Accessibility & contrast

On white

12.01
#4E2756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2756
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2756#FFFFFF#000000##FFFFFF
##4E27561.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3458
Deuteranopia (green-blind)
#2B3855
Tritanopia (blue-blind)
#4F2D3A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2756;
/* rgb */ color: rgb(78, 39, 86);
/* oklch */ color: oklch(34.6% 0.091 320.6);
Tailwind
colors: {
  custom: {
    50: '#816386',
    500: '#4e2756',
    950: '#000000',
  },
}
SCSS
$custom: #4e2756;
$custom-light: #816386;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2756",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 289.787,
    "s": 37.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.09141,
    "h": 320.6
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#4E2756
secondary
#5A8950
accent
#CE5A6E
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2756

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

Preview Lab → · Contrast checker → · Palette generator →

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