#4E134F#4E134F

#4E134F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.4% C 0.117 H 327.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4E134F
RGBrgb(78, 19, 79)
HSLhsl(299, 61%, 19%)
HSVhsv(299, 76%, 31%)
CMYKcmyk(1.3%, 75.9%, 0%, 69%)
CIE-LABlab(18.59, 35.56, -22.92)
CIE-LCHlch(18.59, 42.31, 327.20°)
OKLaboklab(31.35% 0.0987 -0.0635)
OKLCHoklch(31.35% 0.117 327.2)
XYZxyz(4.7860, 2.6503, 7.6551)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E134F #144F13
analogous
#30134F #4E134F #4F1332
triadic
#4E134F #4F4E13 #134F4E
tetradic
#4E134F #4F3013 #144F13 #13324F
square
#4E134F #4F3013 #144F13 #13324F
split-complementary
#4E134F #324F13 #134F30
monochromatic
#180619 #1D071E #4E134F #7F1F80 #AF2BB2

Accessibility & contrast

On white

13.73
#4E134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E134F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E134F#FFFFFF#000000##FFFFFF
##4E134F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082851
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#501C2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e134f;
/* rgb */ color: rgb(78, 19, 79);
/* oklch */ color: oklch(31.4% 0.117 327.2);
Tailwind
colors: {
  custom: {
    50: '#825780',
    500: '#4e134f',
    950: '#000000',
  },
}
SCSS
$custom: #4e134f;
$custom-light: #825780;
$custom-dark: #000000;
JSON
{
  "hex": "#4e134f",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 299,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.11732,
    "h": 327.2
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#4E134F
secondary
#388836
accent
#E44346
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E134F

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

Preview Lab → · Contrast checker → · Palette generator →

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