#4E1E62#4E1E62

#4E1E62 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.121 H 314.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4E1E62
RGBrgb(78, 30, 98)
HSLhsl(282, 53%, 25%)
HSVhsv(282, 69%, 38%)
CMYKcmyk(20.4%, 69.4%, 0%, 61.6%)
CIE-LABlab(21.69, 34.51, -30.66)
CIE-LCHlch(21.69, 46.16, 318.38°)
OKLaboklab(33.99% 0.0845 -0.0862)
OKLCHoklch(33.99% 0.121 314.4)
XYZxyz(5.8104, 3.4303, 11.9089)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E62 #32621E
analogous
#2C1E62 #4E1E62 #621E54
triadic
#4E1E62 #624E1E #1E624E
tetradic
#4E1E62 #622C1E #32621E #1E5462
square
#4E1E62 #622C1E #32621E #1E5462
split-complementary
#4E1E62 #54621E #1E622C
monochromatic
#130717 #291033 #4E1E62 #732C91 #993BC0

Accessibility & contrast

On white

12.46
#4E1E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E62
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E62#FFFFFF#000000##FFFFFF
##4E1E621.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013164
Deuteranopia (green-blind)
#1C3560
Tritanopia (blue-blind)
#4C2B3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1e62;
/* rgb */ color: rgb(78, 30, 98);
/* oklch */ color: oklch(34.0% 0.121 314.4);
Tailwind
colors: {
  custom: {
    50: '#825e8f',
    500: '#4e1e62',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e62;
$custom-light: #825e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e62",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 282.353,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3399,
    "c": 0.12067,
    "h": 314.4
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#4E1E62
secondary
#5D9745
accent
#DD4B76
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E62

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

Preview Lab → · Contrast checker → · Palette generator →

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