#4E1167#4E1167

#4E1167 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.143 H 313.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4E1167
RGBrgb(78, 17, 103)
HSLhsl(283, 72%, 24%)
HSVhsv(283, 83%, 40%)
CMYKcmyk(24.3%, 83.5%, 0%, 59.6%)
CIE-LABlab(20.04, 41.37, -36.60)
CIE-LCHlch(20.04, 55.24, 318.51°)
OKLaboklab(32.94% 0.0981 -0.1035)
OKLCHoklch(32.94% 0.143 313.5)
XYZxyz(5.7901, 3.0001, 13.1034)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1167 #2A6711
analogous
#231167 #4E1167 #671155
triadic
#4E1167 #674E11 #11674E
tetradic
#4E1167 #672311 #2A6711 #115567
square
#4E1167 #672311 #2A6711 #115567
split-complementary
#4E1167 #556711 #116723
monochromatic
#14041A #260832 #4E1167 #761A9C #9E22D0

Accessibility & contrast

On white

13.13
#4E1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1167
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1167#FFFFFF#000000##FFFFFF
##4E11671.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#063265
Tritanopia (blue-blind)
#4B263C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1167;
/* rgb */ color: rgb(78, 17, 103);
/* oklch */ color: oklch(32.9% 0.143 313.5);
Tailwind
colors: {
  custom: {
    50: '#835893',
    500: '#4e1167',
    950: '#000000',
  },
}
SCSS
$custom: #4e1167;
$custom-light: #835893;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1167",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 282.558,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32937,
    "c": 0.14262,
    "h": 313.5
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#4E1167
secondary
#549F35
accent
#EE396E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1167

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

Preview Lab → · Contrast checker → · Palette generator →

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