#4E2153#4E2153

#4E2153 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.099 H 323.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2153
RGBrgb(78, 33, 83)
HSLhsl(294, 43%, 23%)
HSVhsv(294, 60%, 33%)
CMYKcmyk(6%, 60.2%, 0%, 67.5%)
CIE-LABlab(21.33, 29.48, -21.28)
CIE-LCHlch(21.33, 36.36, 324.18°)
OKLaboklab(33.42% 0.0797 -0.0589)
OKLCHoklch(33.42% 0.099 323.5)
XYZxyz(5.2469, 3.3322, 8.5487)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2153 #265321
analogous
#352153 #4E2153 #53213F
triadic
#4E2153 #534E21 #21534E
tetradic
#4E2153 #533521 #265321 #213F53
square
#4E2153 #533521 #265321 #213F53
split-complementary
#4E2153 #3F5321 #215335
monochromatic
#150916 #251027 #4E2153 #77327F #A044AB

Accessibility & contrast

On white

12.60
#4E2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2153
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2153#FFFFFF#000000##FFFFFF
##4E21531.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193055
Deuteranopia (green-blind)
#283552
Tritanopia (blue-blind)
#4F2836
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2153;
/* rgb */ color: rgb(78, 33, 83);
/* oklch */ color: oklch(33.4% 0.099 323.5);
Tailwind
colors: {
  custom: {
    50: '#815f83',
    500: '#4e2153',
    950: '#000000',
  },
}
SCSS
$custom: #4e2153;
$custom-light: #815f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2153",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 294,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33419,
    "c": 0.09909,
    "h": 323.5
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#4E2153
secondary
#4F8749
accent
#D35562
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2153

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

Preview Lab → · Contrast checker → · Palette generator →

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