#4E1066#4E1066

#4E1066 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.8% C 0.143 H 314.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4E1066
RGBrgb(78, 16, 102)
HSLhsl(283, 73%, 23%)
HSVhsv(283, 84%, 40%)
CMYKcmyk(23.5%, 84.3%, 0%, 60%)
CIE-LABlab(19.84, 41.51, -36.27)
CIE-LCHlch(19.84, 55.12, 318.85°)
OKLaboklab(32.77% 0.0992 -0.1025)
OKLCHoklch(32.77% 0.143 314)
XYZxyz(5.7250, 2.9498, 12.8356)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1066 #286610
analogous
#231066 #4E1066 #661053
triadic
#4E1066 #664E10 #10664E
tetradic
#4E1066 #662310 #286610 #105366
square
#4E1066 #662310 #286610 #105366
split-complementary
#4E1066 #536610 #106623
monochromatic
#14041A #260831 #4E1066 #76189B #9F21D0

Accessibility & contrast

On white

13.21
#4E1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1066
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1066#FFFFFF#000000##FFFFFF
##4E10661.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#073164
Tritanopia (blue-blind)
#4C253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1066;
/* rgb */ color: rgb(78, 16, 102);
/* oklch */ color: oklch(32.8% 0.143 314.0);
Tailwind
colors: {
  custom: {
    50: '#835792',
    500: '#4e1066',
    950: '#000000',
  },
}
SCSS
$custom: #4e1066;
$custom-light: #835792;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1066",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 283.256,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.14267,
    "h": 314
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#4E1066
secondary
#519E33
accent
#F0386B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4E1066

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

Preview Lab → · Contrast checker → · Palette generator →

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