#4E1366#4E1366

#4E1366 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.140 H 313.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4E1366
RGBrgb(78, 19, 102)
HSLhsl(283, 69%, 24%)
HSVhsv(283, 81%, 40%)
CMYKcmyk(23.5%, 81.4%, 0%, 60%)
CIE-LABlab(20.22, 40.41, -35.65)
CIE-LCHlch(20.22, 53.89, 318.58°)
OKLaboklab(33.04% 0.0965 -0.1008)
OKLCHoklch(33.04% 0.14 313.8)
XYZxyz(5.7726, 3.0449, 12.8514)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1366 #2B6613
analogous
#241366 #4E1366 #661354
triadic
#4E1366 #664E13 #13664E
tetradic
#4E1366 #662413 #2B6613 #135466
square
#4E1366 #662413 #2B6613 #135466
split-complementary
#4E1366 #546613 #136624
monochromatic
#14051A #270932 #4E1366 #751D9A #9D26CD

Accessibility & contrast

On white

13.05
#4E1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1366
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1366#FFFFFF#000000##FFFFFF
##4E13661.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#0B3264
Tritanopia (blue-blind)
#4C263C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1366;
/* rgb */ color: rgb(78, 19, 102);
/* oklch */ color: oklch(33.0% 0.140 313.8);
Tailwind
colors: {
  custom: {
    50: '#835892',
    500: '#4e1366',
    950: '#000000',
  },
}
SCSS
$custom: #4e1366;
$custom-light: #835892;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1366",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 282.651,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33038,
    "c": 0.1395,
    "h": 313.8
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#4E1366
secondary
#559D37
accent
#EB3C6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1366

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

Preview Lab → · Contrast checker → · Palette generator →

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