#4E2656#4E2656

#4E2656 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.4% C 0.093 H 320.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#4E2656
RGBrgb(78, 38, 86)
HSLhsl(290, 39%, 24%)
HSVhsv(290, 56%, 34%)
CMYKcmyk(9.3%, 55.8%, 0%, 66.3%)
CIE-LABlab(22.58, 27.28, -21.32)
CIE-LCHlch(22.58, 34.63, 322.00°)
OKLaboklab(34.39% 0.0722 -0.059)
OKLCHoklch(34.39% 0.093 320.7)
XYZxyz(5.5145, 3.6780, 9.2217)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2656 #2E5626
analogous
#362656 #4E2656 #562646
triadic
#4E2656 #564E26 #26564E
tetradic
#4E2656 #563626 #2E5626 #264656
square
#4E2656 #563626 #2E5626 #264656
split-complementary
#4E2656 #465626 #265636
monochromatic
#130915 #28132C #4E2656 #743980 #9B4CAB

Accessibility & contrast

On white

12.10
#4E2656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E2656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2656
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2656#FFFFFF#000000##FFFFFF
##4E26561.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2656;
/* rgb */ color: rgb(78, 38, 86);
/* oklch */ color: oklch(34.4% 0.093 320.7);
Tailwind
colors: {
  custom: {
    50: '#816286',
    500: '#4e2656',
    950: '#000000',
  },
}
SCSS
$custom: #4e2656;
$custom-light: #816286;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2656",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 86
  },
  "hsl": {
    "h": 290,
    "s": 38.71,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34394,
    "c": 0.0933,
    "h": 320.7
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#4E2656
secondary
#58894F
accent
#CF596D
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2656

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

Preview Lab → · Contrast checker → · Palette generator →

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