#4E1950#4E1950

#4E1950 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 326.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4E1950
RGBrgb(78, 25, 80)
HSLhsl(298, 52%, 21%)
HSVhsv(298, 69%, 31%)
CMYKcmyk(2.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(19.62, 33.04, -21.96)
CIE-LCHlch(19.62, 39.68, 326.39°)
OKLaboklab(32.11% 0.0911 -0.0608)
OKLCHoklch(32.11% 0.109 326.3)
XYZxyz(4.9374, 2.8945, 7.8865)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1950 #1B5019
analogous
#321950 #4E1950 #501936
triadic
#4E1950 #504E19 #19504E
tetradic
#4E1950 #503219 #1B5019 #193650
square
#4E1950 #503219 #1B5019 #193650
split-complementary
#4E1950 #365019 #195032
monochromatic
#170717 #210A21 #4E1950 #7B287F #A936AD

Accessibility & contrast

On white

13.30
#4E1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1950
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1950#FFFFFF#000000##FFFFFF
##4E19501.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#24324F
Tritanopia (blue-blind)
#502132
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1950;
/* rgb */ color: rgb(78, 25, 80);
/* oklch */ color: oklch(32.1% 0.109 326.3);
Tailwind
colors: {
  custom: {
    50: '#825a81',
    500: '#4e1950',
    950: '#000000',
  },
}
SCSS
$custom: #4e1950;
$custom-light: #825a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1950",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 297.818,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.10949,
    "h": 326.3
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#4E1950
secondary
#41863E
accent
#DC4C51
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1950

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

Preview Lab → · Contrast checker → · Palette generator →

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