#4E2660#4E2660

#4E2660 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.0% C 0.105 H 314.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2660
RGBrgb(78, 38, 96)
HSLhsl(281, 43%, 26%)
HSVhsv(281, 60%, 38%)
CMYKcmyk(18.7%, 60.4%, 0%, 62.4%)
CIE-LABlab(23.17, 29.65, -26.99)
CIE-LCHlch(23.17, 40.09, 317.69°)
OKLaboklab(35.02% 0.0732 -0.0755)
OKLCHoklch(35.02% 0.105 314.1)
XYZxyz(5.9460, 3.8506, 11.4941)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2660 #386026
analogous
#312660 #4E2660 #602655
triadic
#4E2660 #604E26 #26604E
tetradic
#4E2660 #603126 #386026 #265560
square
#4E2660 #603126 #386026 #265560
split-complementary
#4E2660 #556026 #266031
monochromatic
#120916 #2A1534 #4E2660 #72378C #9549B7

Accessibility & contrast

On white

11.86
#4E2660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2660
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2660#FFFFFF#000000##FFFFFF
##4E26601.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#24385F
Tritanopia (blue-blind)
#4D303F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2660;
/* rgb */ color: rgb(78, 38, 96);
/* oklch */ color: oklch(35.0% 0.105 314.1);
Tailwind
colors: {
  custom: {
    50: '#81628d',
    500: '#4e2660',
    950: '#000000',
  },
}
SCSS
$custom: #4e2660;
$custom-light: #81628d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2660",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 96
  },
  "hsl": {
    "h": 281.379,
    "s": 43.284,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.10518,
    "h": 314.1
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#4E2660
secondary
#64934F
accent
#D3557C
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E2660

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

Preview Lab → · Contrast checker → · Palette generator →

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