#4E1E65#4E1E65

#4E1E65 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.124 H 312.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#4E1E65
RGBrgb(78, 30, 101)
HSLhsl(281, 54%, 26%)
HSVhsv(281, 70%, 40%)
CMYKcmyk(22.8%, 70.3%, 0%, 60.4%)
CIE-LABlab(21.90, 35.22, -32.29)
CIE-LCHlch(21.90, 47.78, 317.48°)
OKLaboklab(34.21% 0.0843 -0.091)
OKLCHoklch(34.21% 0.124 312.8)
XYZxyz(5.9547, 3.4880, 12.6690)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E65 #35651E
analogous
#2A1E65 #4E1E65 #651E58
triadic
#4E1E65 #654E1E #1E654E
tetradic
#4E1E65 #652A1E #35651E #1E5865
square
#4E1E65 #652A1E #35651E #1E5865
split-complementary
#4E1E65 #58651E #1E652A
monochromatic
#120718 #2A1036 #4E1E65 #722C94 #973AC3

Accessibility & contrast

On white

12.37
#4E1E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E1E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E65
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E65#FFFFFF#000000##FFFFFF
##4E1E651.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#193563
Tritanopia (blue-blind)
#4C2C3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1e65;
/* rgb */ color: rgb(78, 30, 101);
/* oklch */ color: oklch(34.2% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#825e91',
    500: '#4e1e65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e65;
$custom-light: #825e91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e65",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 280.563,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.12401,
    "h": 312.8
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#4E1E65
secondary
#619A45
accent
#DE4A7A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1E65

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

Preview Lab → · Contrast checker → · Palette generator →

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