#4E1046#4E1046

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

Color values

HEX#4E1046
RGBrgb(78, 16, 70)
HSLhsl(308, 66%, 18%)
HSVhsv(308, 79%, 31%)
CMYKcmyk(0%, 79.5%, 10.3%, 69.4%)
CIE-LABlab(17.61, 35.09, -18.28)
CIE-LCHlch(17.61, 39.57, 332.49°)
OKLaboklab(30.47% 0.1017 -0.0501)
OKLCHoklch(30.47% 0.113 333.8)
XYZxyz(4.4327, 2.4329, 6.0293)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1046 #104E18
analogous
#37104E #4E1046 #4E1027
triadic
#4E1046 #464E10 #10464E
tetradic
#4E1046 #4E3710 #104E18 #10274E
square
#4E1046 #4E3710 #104E18 #10274E
split-complementary
#4E1046 #274E10 #104E37
monochromatic
#190517 #1B0618 #4E1046 #811A74 #B425A1

Accessibility & contrast

On white

14.13
#4E1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1046
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1046#FFFFFF#000000##FFFFFF
##4E10461.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2547
Deuteranopia (green-blind)
#252E45
Tritanopia (blue-blind)
#521629
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1046;
/* rgb */ color: rgb(78, 16, 70);
/* oklch */ color: oklch(30.5% 0.113 333.8);
Tailwind
colors: {
  custom: {
    50: '#825579',
    500: '#4e1046',
    950: '#000000',
  },
}
SCSS
$custom: #4e1046;
$custom-light: #825579;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1046",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 307.742,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.11335,
    "h": 333.8
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#4E1046
secondary
#32883D
accent
#E9553F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1046

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

Preview Lab → · Contrast checker → · Palette generator →

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