#4E1146#4E1146

#4E1146 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.112 H 333.8°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#4E1146
RGBrgb(78, 17, 70)
HSLhsl(308, 64%, 19%)
HSVhsv(308, 78%, 31%)
CMYKcmyk(0%, 78.2%, 10.3%, 69.4%)
CIE-LABlab(17.75, 34.70, -18.06)
CIE-LCHlch(17.75, 39.12, 332.51°)
OKLaboklab(30.57% 0.1005 -0.0494)
OKLCHoklch(30.57% 0.112 333.8)
XYZxyz(4.4479, 2.4632, 6.0343)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1146 #114E19
analogous
#37114E #4E1146 #4E1127
triadic
#4E1146 #464E11 #11464E
tetradic
#4E1146 #4E3711 #114E19 #11274E
square
#4E1146 #4E3711 #114E19 #11274E
split-complementary
#4E1146 #274E11 #114E37
monochromatic
#190517 #1C0619 #4E1146 #801C73 #B227A0

Accessibility & contrast

On white

14.07
#4E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1146
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1146#FFFFFF#000000##FFFFFF
##4E11461.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1146;
/* rgb */ color: rgb(78, 17, 70);
/* oklch */ color: oklch(30.6% 0.112 333.8);
Tailwind
colors: {
  custom: {
    50: '#825679',
    500: '#4e1146',
    950: '#000000',
  },
}
SCSS
$custom: #4e1146;
$custom-light: #825679;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1146",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 307.869,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30573,
    "c": 0.11203,
    "h": 333.8
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#4E1146
secondary
#33873E
accent
#E75641
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1146

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

Preview Lab → · Contrast checker → · Palette generator →

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