#4E2164#4E2164

#4E2164 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.118 H 312.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#4E2164
RGBrgb(78, 33, 100)
HSLhsl(280, 50%, 26%)
HSVhsv(280, 67%, 39%)
CMYKcmyk(22%, 67%, 0%, 60.8%)
CIE-LABlab(22.40, 33.41, -30.84)
CIE-LCHlch(22.40, 45.46, 317.29°)
OKLaboklab(34.55% 0.0804 -0.0867)
OKLCHoklch(34.55% 0.118 312.8)
XYZxyz(5.9856, 3.6277, 12.4390)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2164 #376421
analogous
#2C2164 #4E2164 #642158
triadic
#4E2164 #644E21 #21644E
tetradic
#4E2164 #642C21 #376421 #215864
square
#4E2164 #642C21 #376421 #215864
split-complementary
#4E2164 #586421 #21642C
monochromatic
#120817 #2A1236 #4E2164 #723092 #9640C0

Accessibility & contrast

On white

12.17
#4E2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2164
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2164#FFFFFF#000000##FFFFFF
##4E21641.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053366
Deuteranopia (green-blind)
#1D3762
Tritanopia (blue-blind)
#4C2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2164;
/* rgb */ color: rgb(78, 33, 100);
/* oklch */ color: oklch(34.5% 0.118 312.8);
Tailwind
colors: {
  custom: {
    50: '#825f90',
    500: '#4e2164',
    950: '#000000',
  },
}
SCSS
$custom: #4e2164;
$custom-light: #825f90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2164",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 280.299,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.11826,
    "h": 312.8
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#4E2164
secondary
#639849
accent
#DA4E7C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2164

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

Preview Lab → · Contrast checker → · Palette generator →

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