#4E2653#4E2653

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

Color values

HEX#4E2653
RGBrgb(78, 38, 83)
HSLhsl(293, 37%, 24%)
HSVhsv(293, 54%, 33%)
CMYKcmyk(6%, 54.2%, 0%, 67.5%)
CIE-LABlab(22.41, 26.61, -19.58)
CIE-LCHlch(22.41, 33.03, 323.65°)
OKLaboklab(34.22% 0.0718 -0.054)
OKLCHoklch(34.22% 0.09 323)
XYZxyz(5.3962, 3.6307, 8.5985)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2653 #2B5326
analogous
#372653 #4E2653 #532641
triadic
#4E2653 #534E26 #26534E
tetradic
#4E2653 #533726 #2B5326 #264153
square
#4E2653 #533726 #2B5326 #264153
split-complementary
#4E2653 #415326 #265337
monochromatic
#140A15 #271329 #4E2653 #75397D #9D4CA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2653#FFFFFF#000000##FFFFFF
##4E26531.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)
#203355
Deuteranopia (green-blind)
#2C3752
Tritanopia (blue-blind)
#4F2C38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2653;
/* rgb */ color: rgb(78, 38, 83);
/* oklch */ color: oklch(34.2% 0.090 323.0);
Tailwind
colors: {
  custom: {
    50: '#816283',
    500: '#4e2653',
    950: '#000000',
  },
}
SCSS
$custom: #4e2653;
$custom-light: #816283;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2653",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 293.333,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.08984,
    "h": 323
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#4E2653
secondary
#55864F
accent
#CD5B67
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2653

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

Preview Lab → · Contrast checker → · Palette generator →

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