#4E0F4C#4E0F4C

#4E0F4C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.120 H 329.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4E0F4C
RGBrgb(78, 15, 76)
HSLhsl(302, 68%, 18%)
HSVhsv(302, 81%, 31%)
CMYKcmyk(0%, 80.8%, 2.6%, 69.4%)
CIE-LABlab(17.84, 36.56, -22.04)
CIE-LCHlch(17.84, 42.69, 328.91°)
OKLaboklab(30.76% 0.1031 -0.0609)
OKLCHoklch(30.76% 0.12 329.4)
XYZxyz(4.6172, 2.4835, 7.0723)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F4C #0F4E11
analogous
#300F4E #4E0F4C #4E0F2C
triadic
#4E0F4C #4C4E0F #0F4C4E
tetradic
#4E0F4C #4E300F #0F4E11 #0F2C4E
square
#4E0F4C #4E300F #0F4E11 #0F2C4E
split-complementary
#4E0F4C #2C4E0F #0F4E30
monochromatic
#1A0519 #1B051A #4E0F4C #81197E #B523B0

Accessibility & contrast

On white

14.03
#4E0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E0F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F4C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F4C#FFFFFF#000000##FFFFFF
##4E0F4C1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264E
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#51182C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0f4c;
/* rgb */ color: rgb(78, 15, 76);
/* oklch */ color: oklch(30.8% 0.120 329.4);
Tailwind
colors: {
  custom: {
    50: '#82557e',
    500: '#4e0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f4c;
$custom-light: #82557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f4c",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 301.905,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.11973,
    "h": 329.4
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#4E0F4C
secondary
#318833
accent
#EB433D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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