#4E2861#4E2861

#4E2861 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.4% C 0.103 H 313.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4E2861
RGBrgb(78, 40, 97)
HSLhsl(280, 42%, 27%)
HSVhsv(280, 59%, 38%)
CMYKcmyk(19.6%, 58.8%, 0%, 62%)
CIE-LABlab(23.67, 28.72, -26.84)
CIE-LCHlch(23.67, 39.31, 316.93°)
OKLaboklab(35.41% 0.0703 -0.0751)
OKLCHoklch(35.41% 0.103 313.1)
XYZxyz(6.0580, 4.0005, 11.7600)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2861 #3B6128
analogous
#322861 #4E2861 #612858
triadic
#4E2861 #614E28 #28614E
tetradic
#4E2861 #613228 #3B6128 #285861
square
#4E2861 #613228 #3B6128 #285861
split-complementary
#4E2861 #586128 #286132
monochromatic
#110916 #2B1636 #4E2861 #713A8C #934EB6

Accessibility & contrast

On white

11.67
#4E2861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2861
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2861#FFFFFF#000000##FFFFFF
##4E28611.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193663
Deuteranopia (green-blind)
#263960
Tritanopia (blue-blind)
#4C3240
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2861;
/* rgb */ color: rgb(78, 40, 97);
/* oklch */ color: oklch(35.4% 0.103 313.1);
Tailwind
colors: {
  custom: {
    50: '#81648e',
    500: '#4e2861',
    950: '#000000',
  },
}
SCSS
$custom: #4e2861;
$custom-light: #81648e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2861",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 280,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35412,
    "c": 0.10286,
    "h": 313.1
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#4E2861
secondary
#679451
accent
#D1567F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2861

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

Preview Lab → · Contrast checker → · Palette generator →

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