#4E1368#4E1368

#4E1368 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.141 H 312.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4E1368
RGBrgb(78, 19, 104)
HSLhsl(282, 69%, 24%)
HSVhsv(282, 82%, 41%)
CMYKcmyk(25%, 81.7%, 0%, 59.2%)
CIE-LABlab(20.38, 40.85, -36.71)
CIE-LCHlch(20.38, 54.92, 318.06°)
OKLaboklab(33.2% 0.0961 -0.1038)
OKLCHoklch(33.2% 0.141 312.8)
XYZxyz(5.8730, 3.0851, 13.3801)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1368 #2D6813
analogous
#241368 #4E1368 #681358
triadic
#4E1368 #684E13 #13684E
tetradic
#4E1368 #682413 #2D6813 #135868
square
#4E1368 #682413 #2D6813 #135868
split-complementary
#4E1368 #586813 #136824
monochromatic
#13051A #270A34 #4E1368 #751C9C #9C26CF

Accessibility & contrast

On white

12.99
#4E1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1368
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1368#FFFFFF#000000##FFFFFF
##4E13681.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#073266
Tritanopia (blue-blind)
#4B273D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1368;
/* rgb */ color: rgb(78, 19, 104);
/* oklch */ color: oklch(33.2% 0.141 312.8);
Tailwind
colors: {
  custom: {
    50: '#835894',
    500: '#4e1368',
    950: '#000000',
  },
}
SCSS
$custom: #4e1368;
$custom-light: #835894;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1368",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 281.647,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33199,
    "c": 0.14147,
    "h": 312.8
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#4E1368
secondary
#579F37
accent
#EC3C72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1368

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

Preview Lab → · Contrast checker → · Palette generator →

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