#4E1F60#4E1F60

#4E1F60 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.117 H 315.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1F60
RGBrgb(78, 31, 96)
HSLhsl(283, 51%, 25%)
HSVhsv(283, 68%, 38%)
CMYKcmyk(18.7%, 67.7%, 0%, 62.4%)
CIE-LABlab(21.74, 33.52, -29.26)
CIE-LCHlch(21.74, 44.50, 318.88°)
OKLaboklab(33.98% 0.0832 -0.0821)
OKLCHoklch(33.98% 0.117 315.4)
XYZxyz(5.7429, 3.4444, 11.4264)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F60 #31601F
analogous
#2E1F60 #4E1F60 #601F51
triadic
#4E1F60 #604E1F #1F604E
tetradic
#4E1F60 #602E1F #31601F #1F5160
square
#4E1F60 #602E1F #31601F #1F5160
split-complementary
#4E1F60 #51601F #1F602E
monochromatic
#130717 #281032 #4E1F60 #742E8E #993DBD

Accessibility & contrast

On white

12.43
#4E1F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E1F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F60
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F60#FFFFFF#000000##FFFFFF
##4E1F601.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073162
Deuteranopia (green-blind)
#1E355E
Tritanopia (blue-blind)
#4D2B3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1f60;
/* rgb */ color: rgb(78, 31, 96);
/* oklch */ color: oklch(34.0% 0.117 315.4);
Tailwind
colors: {
  custom: {
    50: '#825e8d',
    500: '#4e1f60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f60;
$custom-light: #825e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f60",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 283.385,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33983,
    "c": 0.11689,
    "h": 315.4
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#4E1F60
secondary
#5C9546
accent
#DB4D74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1F60

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

Preview Lab → · Contrast checker → · Palette generator →

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