#4E1650#4E1650

#4E1650 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.114 H 326.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1650
RGBrgb(78, 22, 80)
HSLhsl(298, 57%, 20%)
HSVhsv(298, 73%, 31%)
CMYKcmyk(2.5%, 72.5%, 0%, 68.6%)
CIE-LABlab(19.11, 34.45, -22.76)
CIE-LCHlch(19.11, 41.29, 326.55°)
OKLaboklab(31.75% 0.095 -0.0631)
OKLCHoklch(31.75% 0.114 326.4)
XYZxyz(4.8767, 2.7730, 7.8662)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1650 #185016
analogous
#311650 #4E1650 #501635
triadic
#4E1650 #504E16 #16504E
tetradic
#4E1650 #503116 #185016 #163550
square
#4E1650 #503116 #185016 #163550
split-complementary
#4E1650 #355016 #165031
monochromatic
#170718 #1F0920 #4E1650 #7D2380 #AC30B0

Accessibility & contrast

On white

13.51
#4E1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1650
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1650#FFFFFF#000000##FFFFFF
##4E16501.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A52
Deuteranopia (green-blind)
#23314E
Tritanopia (blue-blind)
#501E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1650;
/* rgb */ color: rgb(78, 22, 80);
/* oklch */ color: oklch(31.7% 0.114 326.4);
Tailwind
colors: {
  custom: {
    50: '#825981',
    500: '#4e1650',
    950: '#000000',
  },
}
SCSS
$custom: #4e1650;
$custom-light: #825981;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1650",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 297.931,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.11404,
    "h": 326.4
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#4E1650
secondary
#3D873A
accent
#E0484D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1650

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

Preview Lab → · Contrast checker → · Palette generator →

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