#4E0F47#4E0F47

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

Color values

HEX#4E0F47
RGBrgb(78, 15, 71)
HSLhsl(307, 68%, 18%)
HSVhsv(307, 81%, 31%)
CMYKcmyk(0%, 80.8%, 9%, 69.4%)
CIE-LABlab(17.54, 35.65, -19.09)
CIE-LCHlch(17.54, 40.44, 331.84°)
OKLaboklab(30.44% 0.1029 -0.0524)
OKLCHoklch(30.44% 0.115 333)
XYZxyz(4.4501, 2.4167, 6.1921)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F47 #0F4E16
analogous
#350F4E #4E0F47 #4E0F27
triadic
#4E0F47 #474E0F #0F474E
tetradic
#4E0F47 #4E350F #0F4E16 #0F274E
square
#4E0F47 #4E350F #0F4E16 #0F274E
split-complementary
#4E0F47 #274E0F #0F4E35
monochromatic
#1A0517 #1B0518 #4E0F47 #811976 #B523A4

Accessibility & contrast

On white

14.16
#4E0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F47
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F47#FFFFFF#000000##FFFFFF
##4E0F471.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e0f47;
/* rgb */ color: rgb(78, 15, 71);
/* oklch */ color: oklch(30.4% 0.115 333.0);
Tailwind
colors: {
  custom: {
    50: '#82557a',
    500: '#4e0f47',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f47;
$custom-light: #82557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f47",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 306.667,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.11545,
    "h": 333
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4E0F47
secondary
#31883A
accent
#EB503D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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