#4E1450#4E1450

#4E1450 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.117 H 326.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4E1450
RGBrgb(78, 20, 80)
HSLhsl(298, 60%, 20%)
HSVhsv(298, 75%, 31%)
CMYKcmyk(2.5%, 75%, 0%, 68.6%)
CIE-LABlab(18.80, 35.34, -23.26)
CIE-LCHlch(18.80, 42.30, 326.65°)
OKLaboklab(31.52% 0.0975 -0.0645)
OKLCHoklch(31.52% 0.117 326.5)
XYZxyz(4.8399, 2.6995, 7.8540)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1450 #165014
analogous
#301450 #4E1450 #501434
triadic
#4E1450 #504E14 #14504E
tetradic
#4E1450 #503014 #165014 #143450
square
#4E1450 #503014 #165014 #143450
split-complementary
#4E1450 #345014 #145030
monochromatic
#180618 #1E081F #4E1450 #7E2081 #AD2CB2

Accessibility & contrast

On white

13.64
#4E1450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1450
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1450#FFFFFF#000000##FFFFFF
##4E14501.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082952
Deuteranopia (green-blind)
#22304E
Tritanopia (blue-blind)
#501D30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1450;
/* rgb */ color: rgb(78, 20, 80);
/* oklch */ color: oklch(31.5% 0.117 326.5);
Tailwind
colors: {
  custom: {
    50: '#825881',
    500: '#4e1450',
    950: '#000000',
  },
}
SCSS
$custom: #4e1450;
$custom-light: #825881;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1450",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 298,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31523,
    "c": 0.11688,
    "h": 326.5
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#4E1450
secondary
#3A8838
accent
#E3454A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1450

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

Preview Lab → · Contrast checker → · Palette generator →

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