#4E0F48#4E0F48

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

Color values

HEX#4E0F48
RGBrgb(78, 15, 72)
HSLhsl(306, 68%, 18%)
HSVhsv(306, 81%, 31%)
CMYKcmyk(0%, 80.8%, 7.7%, 69.4%)
CIE-LABlab(17.60, 35.83, -19.68)
CIE-LCHlch(17.60, 40.88, 331.22°)
OKLaboklab(30.5% 0.1029 -0.0541)
OKLCHoklch(30.5% 0.116 332.3)
XYZxyz(4.4824, 2.4296, 6.3625)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F48 #0F4E15
analogous
#340F4E #4E0F48 #4E0F28
triadic
#4E0F48 #484E0F #0F484E
tetradic
#4E0F48 #4E340F #0F4E15 #0F284E
square
#4E0F48 #4E340F #0F4E15 #0F284E
split-complementary
#4E0F48 #284E0F #0F4E34
monochromatic
#1A0518 #1B0519 #4E0F48 #811977 #B523A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E0F48#FFFFFF#000000##FFFFFF
##4E0F481.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)
#0B254A
Deuteranopia (green-blind)
#242E46
Tritanopia (blue-blind)
#52162A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0f48;
/* rgb */ color: rgb(78, 15, 72);
/* oklch */ color: oklch(30.5% 0.116 332.3);
Tailwind
colors: {
  custom: {
    50: '#82557b',
    500: '#4e0f48',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f48;
$custom-light: #82557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f48",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 305.714,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.305,
    "c": 0.1163,
    "h": 332.3
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#4E0F48
secondary
#318839
accent
#EB4E3D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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