#4E2060#4E2060

#4E2060 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.115 H 315.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4E2060
RGBrgb(78, 32, 96)
HSLhsl(283, 50%, 25%)
HSVhsv(283, 67%, 38%)
CMYKcmyk(18.7%, 66.7%, 0%, 62.4%)
CIE-LABlab(21.93, 32.99, -28.96)
CIE-LCHlch(21.93, 43.89, 318.73°)
OKLaboklab(34.12% 0.0818 -0.0812)
OKLCHoklch(34.12% 0.115 315.2)
XYZxyz(5.7694, 3.4974, 11.4352)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2060 #326020
analogous
#2E2060 #4E2060 #602052
triadic
#4E2060 #604E20 #20604E
tetradic
#4E2060 #602E20 #326020 #205260
square
#4E2060 #602E20 #326020 #205260
split-complementary
#4E2060 #526020 #20602E
monochromatic
#130817 #291132 #4E2060 #732F8E #993FBC

Accessibility & contrast

On white

12.36
#4E2060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2060
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2060#FFFFFF#000000##FFFFFF
##4E20601.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#4D2C3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2060;
/* rgb */ color: rgb(78, 32, 96);
/* oklch */ color: oklch(34.1% 0.115 315.2);
Tailwind
colors: {
  custom: {
    50: '#825f8d',
    500: '#4e2060',
    950: '#000000',
  },
}
SCSS
$custom: #4e2060;
$custom-light: #825f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2060",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 283.125,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34123,
    "c": 0.11529,
    "h": 315.2
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#4E2060
secondary
#5D9447
accent
#DA4E75
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2060

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

Preview Lab → · Contrast checker → · Palette generator →

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