#4E2460#4E2460

#4E2460 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.109 H 314.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2460
RGBrgb(78, 36, 96)
HSLhsl(282, 45%, 26%)
HSVhsv(282, 63%, 38%)
CMYKcmyk(18.7%, 62.5%, 0%, 62.4%)
CIE-LABlab(22.74, 30.79, -27.66)
CIE-LCHlch(22.74, 41.39, 318.06°)
OKLaboklab(34.71% 0.0762 -0.0775)
OKLCHoklch(34.71% 0.109 314.5)
XYZxyz(5.8837, 3.7262, 11.4733)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2460 #366024
analogous
#302460 #4E2460 #602454
triadic
#4E2460 #604E24 #24604E
tetradic
#4E2460 #603024 #366024 #245460
square
#4E2460 #603024 #366024 #245460
split-complementary
#4E2460 #546024 #246030
monochromatic
#120816 #2A1333 #4E2460 #72358D #9645B9

Accessibility & contrast

On white

12.03
#4E2460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2460
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2460#FFFFFF#000000##FFFFFF
##4E24601.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#23375F
Tritanopia (blue-blind)
#4D2E3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2460;
/* rgb */ color: rgb(78, 36, 96);
/* oklch */ color: oklch(34.7% 0.109 314.5);
Tailwind
colors: {
  custom: {
    50: '#82618d',
    500: '#4e2460',
    950: '#000000',
  },
}
SCSS
$custom: #4e2460;
$custom-light: #82618d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2460",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 282,
    "s": 45.455,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.10864,
    "h": 314.5
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#4E2460
secondary
#62944C
accent
#D5537A
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2460

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

Preview Lab → · Contrast checker → · Palette generator →

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