#4E2462#4E2462

#4E2462 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.8% C 0.111 H 313.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2462
RGBrgb(78, 36, 98)
HSLhsl(281, 46%, 26%)
HSVhsv(281, 63%, 38%)
CMYKcmyk(20.4%, 63.3%, 0%, 61.6%)
CIE-LABlab(22.87, 31.27, -28.77)
CIE-LCHlch(22.87, 42.49, 317.39°)
OKLaboklab(34.85% 0.0762 -0.0807)
OKLCHoklch(34.85% 0.111 313.4)
XYZxyz(5.9770, 3.7635, 11.9645)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2462 #386224
analogous
#2F2462 #4E2462 #622457
triadic
#4E2462 #624E24 #24624E
tetradic
#4E2462 #622F24 #386224 #245762
square
#4E2462 #622F24 #386224 #245762
split-complementary
#4E2462 #576224 #24622F
monochromatic
#120816 #2A1435 #4E2462 #72348F #9546BB

Accessibility & contrast

On white

11.98
#4E2462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2462
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2462#FFFFFF#000000##FFFFFF
##4E24621.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#213860
Tritanopia (blue-blind)
#4C2F3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2462;
/* rgb */ color: rgb(78, 36, 98);
/* oklch */ color: oklch(34.8% 0.111 313.4);
Tailwind
colors: {
  custom: {
    50: '#82618f',
    500: '#4e2462',
    950: '#000000',
  },
}
SCSS
$custom: #4e2462;
$custom-light: #82618f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2462",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 280.645,
    "s": 46.269,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.11101,
    "h": 313.4
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#4E2462
secondary
#64954C
accent
#D6527C
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2462

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

Preview Lab → · Contrast checker → · Palette generator →

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