#4E0F56#4E0F56

#4E0F56 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.129 H 322.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#4E0F56
RGBrgb(78, 15, 86)
HSLhsl(293, 70%, 20%)
HSVhsv(293, 83%, 34%)
CMYKcmyk(9.3%, 82.6%, 0%, 66.3%)
CIE-LABlab(18.51, 38.49, -27.77)
CIE-LCHlch(18.51, 47.47, 324.19°)
OKLaboklab(31.45% 0.1026 -0.0776)
OKLCHoklch(31.45% 0.129 322.9)
XYZxyz(4.9923, 2.6335, 9.0477)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F56 #17560F
analogous
#2A0F56 #4E0F56 #560F3B
triadic
#4E0F56 #564E0F #0F564E
tetradic
#4E0F56 #562A0F #17560F #0F3B56
square
#4E0F56 #562A0F #17560F #0F3B56
split-complementary
#4E0F56 #3B560F #0F562A
monochromatic
#18051A #1F0622 #4E0F56 #7D188A #AD21BE

Accessibility & contrast

On white

13.76
#4E0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F56
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F56#FFFFFF#000000##FFFFFF
##4E0F561.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#1B2F54
Tritanopia (blue-blind)
#4F1D32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e0f56;
/* rgb */ color: rgb(78, 15, 86);
/* oklch */ color: oklch(31.4% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#825686',
    500: '#4e0f56',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f56;
$custom-light: #825686;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f56",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 293.239,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31448,
    "c": 0.12869,
    "h": 322.9
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#4E0F56
secondary
#3C9031
accent
#ED3B4F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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