#4E0F4F#4E0F4F

#4E0F4F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.122 H 327.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4E0F4F
RGBrgb(78, 15, 79)
HSLhsl(299, 68%, 18%)
HSVhsv(299, 81%, 31%)
CMYKcmyk(1.3%, 81%, 0%, 69%)
CIE-LABlab(18.04, 37.12, -23.79)
CIE-LCHlch(18.04, 44.09, 327.35°)
OKLaboklab(30.96% 0.103 -0.066)
OKLCHoklch(30.96% 0.122 327.4)
XYZxyz(4.7239, 2.5262, 7.6344)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F4F #104F0F
analogous
#2E0F4F #4E0F4F #4F0F30
triadic
#4E0F4F #4F4E0F #0F4F4E
tetradic
#4E0F4F #4F2E0F #104F0F #0F304F
square
#4E0F4F #4F2E0F #104F0F #0F304F
split-complementary
#4E0F4F #304F0F #0F4F2E
monochromatic
#19051A #1B051C #4E0F4F #811982 #B423B6

Accessibility & contrast

On white

13.95
#4E0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F4F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F4F#FFFFFF#000000##FFFFFF
##4E0F4F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#51192E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0f4f;
/* rgb */ color: rgb(78, 15, 79);
/* oklch */ color: oklch(31.0% 0.122 327.4);
Tailwind
colors: {
  custom: {
    50: '#825580',
    500: '#4e0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f4f;
$custom-light: #825580;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f4f",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 299.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30957,
    "c": 0.12237,
    "h": 327.4
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4E0F4F
secondary
#328931
accent
#EB3D40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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