#4E2450#4E2450

#4E2450 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.7% C 0.090 H 325.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2450
RGBrgb(78, 36, 80)
HSLhsl(297, 38%, 23%)
HSVhsv(297, 55%, 31%)
CMYKcmyk(2.5%, 55%, 0%, 68.6%)
CIE-LABlab(21.80, 27.12, -18.52)
CIE-LCHlch(21.80, 32.84, 325.67°)
OKLaboklab(33.71% 0.0745 -0.051)
OKLCHoklch(33.71% 0.09 325.6)
XYZxyz(5.2206, 3.4609, 7.9809)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2450 #265024
analogous
#382450 #4E2450 #50243C
triadic
#4E2450 #504E24 #24504E
tetradic
#4E2450 #503824 #265024 #243C50
square
#4E2450 #503824 #265024 #243C50
split-complementary
#4E2450 #3C5024 #245038
monochromatic
#150915 #251126 #4E2450 #77377A #A04AA4

Accessibility & contrast

On white

12.41
#4E2450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E2450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2450
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2450#FFFFFF#000000##FFFFFF
##4E24501.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3151
Deuteranopia (green-blind)
#2C364F
Tritanopia (blue-blind)
#502936
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2450;
/* rgb */ color: rgb(78, 36, 80);
/* oklch */ color: oklch(33.7% 0.090 325.6);
Tailwind
colors: {
  custom: {
    50: '#816181',
    500: '#4e2450',
    950: '#000000',
  },
}
SCSS
$custom: #4e2450;
$custom-light: #816181;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2450",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 80
  },
  "hsl": {
    "h": 297.273,
    "s": 37.931,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.09028,
    "h": 325.6
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#4E2450
secondary
#4F834C
accent
#CE5A5F
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2450

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

Preview Lab → · Contrast checker → · Palette generator →

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