#4E2150#4E2150

#4E2150 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.2% C 0.096 H 325.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4E2150
RGBrgb(78, 33, 80)
HSLhsl(297, 42%, 22%)
HSVhsv(297, 59%, 31%)
CMYKcmyk(2.5%, 58.8%, 0%, 68.6%)
CIE-LABlab(21.16, 28.84, -19.53)
CIE-LCHlch(21.16, 34.83, 325.89°)
OKLaboklab(33.24% 0.0793 -0.0538)
OKLCHoklch(33.24% 0.096 325.8)
XYZxyz(5.1336, 3.2869, 7.9519)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2150 #235021
analogous
#372150 #4E2150 #50213B
triadic
#4E2150 #504E21 #21504E
tetradic
#4E2150 #503721 #235021 #213B50
square
#4E2150 #503721 #235021 #213B50
split-complementary
#4E2150 #3B5021 #215037
monochromatic
#150916 #240F25 #4E2150 #78337B #A245A7

Accessibility & contrast

On white

12.67
#4E2150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2150
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2150#FFFFFF#000000##FFFFFF
##4E21501.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F52
Deuteranopia (green-blind)
#2A354F
Tritanopia (blue-blind)
#502735
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2150;
/* rgb */ color: rgb(78, 33, 80);
/* oklch */ color: oklch(33.2% 0.096 325.8);
Tailwind
colors: {
  custom: {
    50: '#815f81',
    500: '#4e2150',
    950: '#000000',
  },
}
SCSS
$custom: #4e2150;
$custom-light: #815f81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2150",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 297.447,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.09586,
    "h": 325.8
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#4E2150
secondary
#4B8449
accent
#D1565C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2150

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

Preview Lab → · Contrast checker → · Palette generator →

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