#4E0F4D#4E0F4D

#4E0F4D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.121 H 328.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4E0F4D
RGBrgb(78, 15, 77)
HSLhsl(301, 68%, 18%)
HSVhsv(301, 81%, 31%)
CMYKcmyk(0%, 80.8%, 1.3%, 69.4%)
CIE-LABlab(17.91, 36.75, -22.63)
CIE-LCHlch(17.91, 43.15, 328.38°)
OKLaboklab(30.82% 0.1031 -0.0626)
OKLCHoklch(30.82% 0.121 328.7)
XYZxyz(4.6522, 2.4975, 7.2568)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F4D #0F4E10
analogous
#2F0F4E #4E0F4D #4E0F2D
triadic
#4E0F4D #4D4E0F #0F4D4E
tetradic
#4E0F4D #4E2F0F #0F4E10 #0F2D4E
square
#4E0F4D #4E2F0F #0F4E10 #0F2D4E
split-complementary
#4E0F4D #2D4E0F #0F4E2F
monochromatic
#1A0519 #1B051A #4E0F4D #811980 #B523B2

Accessibility & contrast

On white

14.01
#4E0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F4D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F4D#FFFFFF#000000##FFFFFF
##4E0F4D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05274F
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#51192D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0f4d;
/* rgb */ color: rgb(78, 15, 77);
/* oklch */ color: oklch(30.8% 0.121 328.7);
Tailwind
colors: {
  custom: {
    50: '#82557f',
    500: '#4e0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f4d;
$custom-light: #82557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f4d",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 300.952,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30823,
    "c": 0.12061,
    "h": 328.7
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#4E0F4D
secondary
#318832
accent
#EB403D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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