#4E2463#4E2463

#4E2463 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.9% C 0.112 H 312.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#4E2463
RGBrgb(78, 36, 99)
HSLhsl(280, 47%, 26%)
HSVhsv(280, 64%, 39%)
CMYKcmyk(21.2%, 63.6%, 0%, 61.2%)
CIE-LABlab(22.94, 31.52, -29.32)
CIE-LCHlch(22.94, 43.05, 317.07°)
OKLaboklab(34.92% 0.0763 -0.0823)
OKLCHoklch(34.92% 0.112 312.8)
XYZxyz(6.0245, 3.7825, 12.2147)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2463 #396324
analogous
#2F2463 #4E2463 #632459
triadic
#4E2463 #634E24 #24634E
tetradic
#4E2463 #632F24 #396324 #245963
square
#4E2463 #632F24 #396324 #245963
split-complementary
#4E2463 #596324 #24632F
monochromatic
#120816 #2B1436 #4E2463 #713490 #9446BC

Accessibility & contrast

On white

11.96
#4E2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2463
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2463#FFFFFF#000000##FFFFFF
##4E24631.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3565
Deuteranopia (green-blind)
#203861
Tritanopia (blue-blind)
#4C2F3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2463;
/* rgb */ color: rgb(78, 36, 99);
/* oklch */ color: oklch(34.9% 0.112 312.8);
Tailwind
colors: {
  custom: {
    50: '#826190',
    500: '#4e2463',
    950: '#000000',
  },
}
SCSS
$custom: #4e2463;
$custom-light: #826190;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2463",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 280,
    "s": 46.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34916,
    "c": 0.1122,
    "h": 312.8
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#4E2463
secondary
#65964C
accent
#D6517E
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2463

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

Preview Lab → · Contrast checker → · Palette generator →

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