#4E2061#4E2061

#4E2061 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.116 H 314.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2061
RGBrgb(78, 32, 97)
HSLhsl(282, 50%, 25%)
HSVhsv(282, 67%, 38%)
CMYKcmyk(19.6%, 67%, 0%, 62%)
CIE-LABlab(22.00, 33.22, -29.51)
CIE-LCHlch(22.00, 44.44, 318.39°)
OKLaboklab(34.19% 0.0818 -0.0828)
OKLCHoklch(34.19% 0.116 314.6)
XYZxyz(5.8157, 3.5160, 11.6792)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2061 #336120
analogous
#2E2061 #4E2061 #612053
triadic
#4E2061 #614E20 #20614E
tetradic
#4E2061 #612E20 #336120 #205361
square
#4E2061 #612E20 #336120 #205361
split-complementary
#4E2061 #536120 #20612E
monochromatic
#130817 #291133 #4E2061 #732F8F #983EBD

Accessibility & contrast

On white

12.33
#4E2061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2061
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2061#FFFFFF#000000##FFFFFF
##4E20611.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083263
Deuteranopia (green-blind)
#1E365F
Tritanopia (blue-blind)
#4C2C3D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2061;
/* rgb */ color: rgb(78, 32, 97);
/* oklch */ color: oklch(34.2% 0.116 314.6);
Tailwind
colors: {
  custom: {
    50: '#825f8e',
    500: '#4e2061',
    950: '#000000',
  },
}
SCSS
$custom: #4e2061;
$custom-light: #825f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2061",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 97
  },
  "hsl": {
    "h": 282.462,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.11643,
    "h": 314.6
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#4E2061
secondary
#5E9547
accent
#DA4E77
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2061

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

Preview Lab → · Contrast checker → · Palette generator →

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