#4E1047#4E1047

#4E1047 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.114 H 333.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4E1047
RGBrgb(78, 16, 71)
HSLhsl(307, 66%, 18%)
HSVhsv(307, 79%, 31%)
CMYKcmyk(0%, 79.5%, 9%, 69.4%)
CIE-LABlab(17.67, 35.27, -18.88)
CIE-LCHlch(17.67, 40.01, 331.84°)
OKLaboklab(30.53% 0.1018 -0.0518)
OKLCHoklch(30.53% 0.114 333)
XYZxyz(4.4645, 2.4456, 6.1969)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1047 #104E17
analogous
#36104E #4E1047 #4E1028
triadic
#4E1047 #474E10 #10474E
tetradic
#4E1047 #4E3610 #104E17 #10284E
square
#4E1047 #4E3610 #104E17 #10284E
split-complementary
#4E1047 #284E10 #104E36
monochromatic
#190517 #1B0619 #4E1047 #811A75 #B425A3

Accessibility & contrast

On white

14.10
#4E1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1047
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1047#FFFFFF#000000##FFFFFF
##4E10471.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#252E45
Tritanopia (blue-blind)
#52162A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1047;
/* rgb */ color: rgb(78, 16, 71);
/* oklch */ color: oklch(30.5% 0.114 333.0);
Tailwind
colors: {
  custom: {
    50: '#82557a',
    500: '#4e1047',
    950: '#000000',
  },
}
SCSS
$custom: #4e1047;
$custom-light: #82557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1047",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 306.774,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.11419,
    "h": 333
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#4E1047
secondary
#32883C
accent
#E9523F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1047

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

Preview Lab → · Contrast checker → · Palette generator →

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