#4E2362#4E2362

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

Color values

HEX#4E2362
RGBrgb(78, 35, 98)
HSLhsl(281, 47%, 26%)
HSVhsv(281, 64%, 38%)
CMYKcmyk(20.4%, 64.3%, 0%, 61.6%)
CIE-LABlab(22.67, 31.83, -29.10)
CIE-LCHlch(22.67, 43.13, 317.57°)
OKLaboklab(34.7% 0.0777 -0.0817)
OKLCHoklch(34.7% 0.113 313.6)
XYZxyz(5.9471, 3.7038, 11.9545)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2362 #376223
analogous
#2E2362 #4E2362 #622356
triadic
#4E2362 #624E23 #23624E
tetradic
#4E2362 #622E23 #376223 #235662
square
#4E2362 #622E23 #376223 #235662
split-complementary
#4E2362 #566223 #23622E
monochromatic
#120817 #2A1335 #4E2362 #72338F #9643BC

Accessibility & contrast

On white

12.06
#4E2362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E2362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2362
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2362#FFFFFF#000000##FFFFFF
##4E23621.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3464
Deuteranopia (green-blind)
#203760
Tritanopia (blue-blind)
#4C2E3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2362;
/* rgb */ color: rgb(78, 35, 98);
/* oklch */ color: oklch(34.7% 0.113 313.6);
Tailwind
colors: {
  custom: {
    50: '#82618f',
    500: '#4e2362',
    950: '#000000',
  },
}
SCSS
$custom: #4e2362;
$custom-light: #82618f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2362",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 280.952,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.11268,
    "h": 313.6
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#4E2362
secondary
#63964B
accent
#D7517B
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2362

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

Preview Lab → · Contrast checker → · Palette generator →

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