#4E1162#4E1162

#4E1162 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.138 H 316.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4E1162
RGBrgb(78, 17, 98)
HSLhsl(285, 70%, 23%)
HSVhsv(285, 83%, 38%)
CMYKcmyk(20.4%, 82.7%, 0%, 61.6%)
CIE-LABlab(19.65, 40.28, -33.94)
CIE-LCHlch(19.65, 52.67, 319.88°)
OKLaboklab(32.53% 0.0991 -0.0957)
OKLCHoklch(32.53% 0.138 316)
XYZxyz(5.5466, 2.9027, 11.8210)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1162 #256211
analogous
#251162 #4E1162 #62114E
triadic
#4E1162 #624E11 #11624E
tetradic
#4E1162 #622511 #256211 #114E62
square
#4E1162 #622511 #256211 #114E62
split-complementary
#4E1162 #4E6211 #116225
monochromatic
#15051A #24082E #4E1162 #781A96 #A123CA

Accessibility & contrast

On white

13.29
#4E1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1162
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1162#FFFFFF#000000##FFFFFF
##4E11621.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#0F3160
Tritanopia (blue-blind)
#4D2439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1162;
/* rgb */ color: rgb(78, 17, 98);
/* oklch */ color: oklch(32.5% 0.138 316.0);
Tailwind
colors: {
  custom: {
    50: '#83578f',
    500: '#4e1162',
    950: '#000000',
  },
}
SCSS
$custom: #4e1162;
$custom-light: #83578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1162",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 285.185,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32535,
    "c": 0.13778,
    "h": 316
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#4E1162
secondary
#4E9A34
accent
#ED3B67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E1162

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

Preview Lab → · Contrast checker → · Palette generator →

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