#4E104E#4E104E

#4E104E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.120 H 328.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4E104E
RGBrgb(78, 16, 78)
HSLhsl(300, 66%, 18%)
HSVhsv(300, 79%, 31%)
CMYKcmyk(0%, 79.5%, 0%, 69.4%)
CIE-LABlab(18.10, 36.56, -23.00)
CIE-LCHlch(18.10, 43.20, 327.83°)
OKLaboklab(30.98% 0.102 -0.0637)
OKLCHoklch(30.98% 0.12 328)
XYZxyz(4.7023, 2.5407, 7.4490)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E104E #104E10
analogous
#2F104E #4E104E #4E102F
triadic
#4E104E #4E4E10 #104E4E
tetradic
#4E104E #4E2F10 #104E10 #102F4E
square
#4E104E #4E2F10 #104E10 #102F4E
split-complementary
#4E104E #2F4E10 #104E2F
monochromatic
#190519 #1B061B #4E104E #811A81 #B425B4

Accessibility & contrast

On white

13.93
#4E104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E104E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E104E#FFFFFF#000000##FFFFFF
##4E104E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#511A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e104e;
/* rgb */ color: rgb(78, 16, 78);
/* oklch */ color: oklch(31.0% 0.120 328.0);
Tailwind
colors: {
  custom: {
    50: '#825680',
    500: '#4e104e',
    950: '#000000',
  },
}
SCSS
$custom: #4e104e;
$custom-light: #825680;
$custom-dark: #000000;
JSON
{
  "hex": "#4e104e",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.12028,
    "h": 328
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#4E104E
secondary
#328832
accent
#E93F3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E104E

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

Preview Lab → · Contrast checker → · Palette generator →

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