#4E2761#4E2761

#4E2761 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.105 H 313.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4E2761
RGBrgb(78, 39, 97)
HSLhsl(280, 43%, 27%)
HSVhsv(280, 60%, 38%)
CMYKcmyk(19.6%, 59.8%, 0%, 62%)
CIE-LABlab(23.45, 29.31, -27.20)
CIE-LCHlch(23.45, 39.98, 317.14°)
OKLaboklab(35.25% 0.0718 -0.0761)
OKLCHoklch(35.25% 0.105 313.3)
XYZxyz(6.0247, 3.9340, 11.7489)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2761 #3A6127
analogous
#312761 #4E2761 #612757
triadic
#4E2761 #614E27 #27614E
tetradic
#4E2761 #613127 #3A6127 #275761
square
#4E2761 #613127 #3A6127 #275761
split-complementary
#4E2761 #576127 #276131
monochromatic
#120916 #2B1535 #4E2761 #71398D #944CB7

Accessibility & contrast

On white

11.75
#4E2761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2761
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2761#FFFFFF#000000##FFFFFF
##4E27611.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173663
Deuteranopia (green-blind)
#253960
Tritanopia (blue-blind)
#4C3140
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2761;
/* rgb */ color: rgb(78, 39, 97);
/* oklch */ color: oklch(35.2% 0.105 313.3);
Tailwind
colors: {
  custom: {
    50: '#81638e',
    500: '#4e2761',
    950: '#000000',
  },
}
SCSS
$custom: #4e2761;
$custom-light: #81638e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2761",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 97
  },
  "hsl": {
    "h": 280.345,
    "s": 42.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.10464,
    "h": 313.3
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#4E2761
secondary
#669450
accent
#D2557E
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2761

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

Preview Lab → · Contrast checker → · Palette generator →

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