#4E2850#4E2850

#4E2850 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.4% C 0.083 H 325.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4E2850
RGBrgb(78, 40, 80)
HSLhsl(297, 33%, 24%)
HSVhsv(297, 50%, 31%)
CMYKcmyk(2.5%, 50%, 0%, 68.6%)
CIE-LABlab(22.71, 24.74, -17.10)
CIE-LCHlch(22.71, 30.08, 325.34°)
OKLaboklab(34.39% 0.0679 -0.0469)
OKLCHoklch(34.39% 0.083 325.3)
XYZxyz(5.3485, 3.7167, 8.0235)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2850 #2A5028
analogous
#3A2850 #4E2850 #50283E
triadic
#4E2850 #504E28 #28504E
tetradic
#4E2850 #503A28 #2A5028 #283E50
square
#4E2850 #503A28 #2A5028 #283E50
split-complementary
#4E2850 #3E5028 #28503A
monochromatic
#140A14 #261427 #4E2850 #763C79 #9E51A2

Accessibility & contrast

On white

12.05
#4E2850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E2850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2850
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2850#FFFFFF#000000##FFFFFF
##4E28501.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243351
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#502C38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2850;
/* rgb */ color: rgb(78, 40, 80);
/* oklch */ color: oklch(34.4% 0.083 325.3);
Tailwind
colors: {
  custom: {
    50: '#816381',
    500: '#4e2850',
    950: '#000000',
  },
}
SCSS
$custom: #4e2850;
$custom-light: #816381;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2850",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 297,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34388,
    "c": 0.08253,
    "h": 325.3
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#4E2850
secondary
#548351
accent
#C95E64
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2850

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

Preview Lab → · Contrast checker → · Palette generator →

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