#4E0F4B#4E0F4B

#4E0F4B is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.119 H 330.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#4E0F4B
RGBrgb(78, 15, 75)
HSLhsl(303, 68%, 18%)
HSVhsv(303, 81%, 31%)
CMYKcmyk(0%, 80.8%, 3.8%, 69.4%)
CIE-LABlab(17.78, 36.38, -21.46)
CIE-LCHlch(17.78, 42.23, 329.46°)
OKLaboklab(30.69% 0.1031 -0.0592)
OKLCHoklch(30.69% 0.119 330.1)
XYZxyz(4.5827, 2.4697, 6.8906)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F4B #0F4E12
analogous
#310F4E #4E0F4B #4E0F2B
triadic
#4E0F4B #4B4E0F #0F4B4E
tetradic
#4E0F4B #4E310F #0F4E12 #0F2B4E
square
#4E0F4B #4E310F #0F4E12 #0F2B4E
split-complementary
#4E0F4B #2B4E0F #0F4E31
monochromatic
#1A0519 #1B051A #4E0F4B #81197C #B523AE

Accessibility & contrast

On white

14.06
#4E0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F4B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F4B#FFFFFF#000000##FFFFFF
##4E0F4B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07264D
Deuteranopia (green-blind)
#222F49
Tritanopia (blue-blind)
#51182C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0f4b;
/* rgb */ color: rgb(78, 15, 75);
/* oklch */ color: oklch(30.7% 0.119 330.1);
Tailwind
colors: {
  custom: {
    50: '#82557d',
    500: '#4e0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f4b;
$custom-light: #82557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f4b",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 302.857,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.11886,
    "h": 330.1
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#4E0F4B
secondary
#318835
accent
#EB453D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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