#4E1B62#4E1B62

#4E1B62 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.125 H 314.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4E1B62
RGBrgb(78, 27, 98)
HSLhsl(283, 57%, 25%)
HSVhsv(283, 72%, 38%)
CMYKcmyk(20.4%, 72.4%, 0%, 61.6%)
CIE-LABlab(21.15, 36.00, -31.52)
CIE-LCHlch(21.15, 47.85, 318.79°)
OKLaboklab(33.6% 0.0883 -0.0887)
OKLCHoklch(33.6% 0.125 314.9)
XYZxyz(5.7381, 3.2856, 11.8848)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B62 #2F621B
analogous
#2B1B62 #4E1B62 #621B53
triadic
#4E1B62 #624E1B #1B624E
tetradic
#4E1B62 #622B1B #2F621B #1B5362
square
#4E1B62 #622B1B #2F621B #1B5362
split-complementary
#4E1B62 #53621B #1B622B
monochromatic
#130718 #280E32 #4E1B62 #742892 #9A35C2

Accessibility & contrast

On white

12.67
#4E1B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B62
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B62#FFFFFF#000000##FFFFFF
##4E1B621.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#193460
Tritanopia (blue-blind)
#4C293C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1b62;
/* rgb */ color: rgb(78, 27, 98);
/* oklch */ color: oklch(33.6% 0.125 314.9);
Tailwind
colors: {
  custom: {
    50: '#825c8f',
    500: '#4e1b62',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b62;
$custom-light: #825c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b62",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 283.099,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33604,
    "c": 0.12512,
    "h": 314.9
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#4E1B62
secondary
#5A9841
accent
#E04873
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1B62

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

Preview Lab → · Contrast checker → · Palette generator →

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