#4E146A#4E146A

#4E146A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.142 H 311.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#4E146A
RGBrgb(78, 20, 106)
HSLhsl(280, 68%, 25%)
HSVhsv(280, 81%, 42%)
CMYKcmyk(26.4%, 81.1%, 0%, 58.4%)
CIE-LABlab(20.68, 40.92, -37.53)
CIE-LCHlch(20.68, 55.53, 317.47°)
OKLaboklab(33.46% 0.0947 -0.1063)
OKLCHoklch(33.46% 0.142 311.7)
XYZxyz(5.9931, 3.1608, 13.9273)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E146A #306A14
analogous
#23146A #4E146A #6A145B
triadic
#4E146A #6A4E14 #146A4E
tetradic
#4E146A #6A2314 #306A14 #145B6A
square
#4E146A #6A2314 #306A14 #145B6A
split-complementary
#4E146A #5B6A14 #146A23
monochromatic
#13051A #280A37 #4E146A #741E9D #9A27D1

Accessibility & contrast

On white

12.87
#4E146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E146A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E146A#FFFFFF#000000##FFFFFF
##4E146A1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#043368
Tritanopia (blue-blind)
#4A293F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e146a;
/* rgb */ color: rgb(78, 20, 106);
/* oklch */ color: oklch(33.5% 0.142 311.7);
Tailwind
colors: {
  custom: {
    50: '#835995',
    500: '#4e146a',
    950: '#000000',
  },
}
SCSS
$custom: #4e146a;
$custom-light: #835995;
$custom-dark: #000000;
JSON
{
  "hex": "#4e146a",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 280.465,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.14236,
    "h": 311.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#4E146A
secondary
#5BA139
accent
#EB3D75
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E146A

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

Preview Lab → · Contrast checker → · Palette generator →

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