#4E1367#4E1367

#4E1367 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.140 H 313.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#4E1367
RGBrgb(78, 19, 103)
HSLhsl(282, 69%, 24%)
HSVhsv(282, 82%, 40%)
CMYKcmyk(24.3%, 81.6%, 0%, 59.6%)
CIE-LABlab(20.30, 40.63, -36.18)
CIE-LCHlch(20.30, 54.40, 318.32°)
OKLaboklab(33.12% 0.0963 -0.1023)
OKLCHoklch(33.12% 0.14 313.3)
XYZxyz(5.8225, 3.0649, 13.1142)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1367 #2C6713
analogous
#241367 #4E1367 #671356
triadic
#4E1367 #674E13 #13674E
tetradic
#4E1367 #672413 #2C6713 #135667
square
#4E1367 #672413 #2C6713 #135667
split-complementary
#4E1367 #566713 #136724
monochromatic
#14051A #270933 #4E1367 #751D9B #9C26CE

Accessibility & contrast

On white

13.02
#4E1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1367
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1367#FFFFFF#000000##FFFFFF
##4E13671.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1367;
/* rgb */ color: rgb(78, 19, 103);
/* oklch */ color: oklch(33.1% 0.140 313.3);
Tailwind
colors: {
  custom: {
    50: '#835893',
    500: '#4e1367',
    950: '#000000',
  },
}
SCSS
$custom: #4e1367;
$custom-light: #835893;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1367",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 282.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.14048,
    "h": 313.3
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#4E1367
secondary
#569E37
accent
#EC3C70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1367

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

Preview Lab → · Contrast checker → · Palette generator →

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