#4E2461#4E2461

#4E2461 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.110 H 313.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2461
RGBrgb(78, 36, 97)
HSLhsl(281, 46%, 26%)
HSVhsv(281, 63%, 38%)
CMYKcmyk(19.6%, 62.9%, 0%, 62%)
CIE-LABlab(22.81, 31.03, -28.22)
CIE-LCHlch(22.81, 41.94, 317.72°)
OKLaboklab(34.78% 0.0762 -0.0791)
OKLCHoklch(34.78% 0.11 313.9)
XYZxyz(5.9301, 3.7447, 11.7174)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2461 #376124
analogous
#2F2461 #4E2461 #612455
triadic
#4E2461 #614E24 #24614E
tetradic
#4E2461 #612F24 #376124 #245561
square
#4E2461 #612F24 #376124 #245561
split-complementary
#4E2461 #556124 #24612F
monochromatic
#120816 #2A1334 #4E2461 #72358E #9645BA

Accessibility & contrast

On white

12.01
#4E2461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2461
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2461#FFFFFF#000000##FFFFFF
##4E24611.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113463
Deuteranopia (green-blind)
#22375F
Tritanopia (blue-blind)
#4C2F3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2461;
/* rgb */ color: rgb(78, 36, 97);
/* oklch */ color: oklch(34.8% 0.110 313.9);
Tailwind
colors: {
  custom: {
    50: '#82618e',
    500: '#4e2461',
    950: '#000000',
  },
}
SCSS
$custom: #4e2461;
$custom-light: #82618e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2461",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 97
  },
  "hsl": {
    "h": 281.311,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.10983,
    "h": 313.9
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#4E2461
secondary
#63944C
accent
#D6527B
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2461

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

Preview Lab → · Contrast checker → · Palette generator →

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