#4E1045#4E1045

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

Color values

HEX#4E1045
RGBrgb(78, 16, 69)
HSLhsl(309, 66%, 18%)
HSVhsv(309, 79%, 31%)
CMYKcmyk(0%, 79.5%, 11.5%, 69.4%)
CIE-LABlab(17.55, 34.92, -17.68)
CIE-LCHlch(17.55, 39.14, 333.15°)
OKLaboklab(30.41% 0.1016 -0.0483)
OKLCHoklch(30.41% 0.113 334.6)
XYZxyz(4.4014, 2.4203, 5.8644)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1045 #104E19
analogous
#38104E #4E1045 #4E1026
triadic
#4E1045 #454E10 #10454E
tetradic
#4E1045 #4E3810 #104E19 #10264E
square
#4E1045 #4E3810 #104E19 #10264E
split-complementary
#4E1045 #264E10 #104E38
monochromatic
#190516 #1B0618 #4E1045 #811A72 #B4259F

Accessibility & contrast

On white

14.15
#4E1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1045
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1045#FFFFFF#000000##FFFFFF
##4E10451.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2546
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#521529
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1045;
/* rgb */ color: rgb(78, 16, 69);
/* oklch */ color: oklch(30.4% 0.113 334.6);
Tailwind
colors: {
  custom: {
    50: '#825579',
    500: '#4e1045',
    950: '#000000',
  },
}
SCSS
$custom: #4e1045;
$custom-light: #825579;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1045",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 308.71,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30412,
    "c": 0.11251,
    "h": 334.6
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#4E1045
secondary
#32883E
accent
#E9583F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1045

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

Preview Lab → · Contrast checker → · Palette generator →

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