#4E1A62#4E1A62

#4E1A62 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.127 H 315.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#4E1A62
RGBrgb(78, 26, 98)
HSLhsl(283, 58%, 24%)
HSVhsv(283, 73%, 38%)
CMYKcmyk(20.4%, 73.5%, 0%, 61.6%)
CIE-LABlab(20.98, 36.48, -31.80)
CIE-LCHlch(20.98, 48.39, 318.92°)
OKLaboklab(33.48% 0.0895 -0.0895)
OKLCHoklch(33.48% 0.127 315)
XYZxyz(5.7155, 3.2405, 11.8773)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A62 #2E621A
analogous
#2A1A62 #4E1A62 #621A52
triadic
#4E1A62 #624E1A #1A624E
tetradic
#4E1A62 #622A1A #2E621A #1A5262
square
#4E1A62 #622A1A #2E621A #1A5262
split-complementary
#4E1A62 #52621A #1A622A
monochromatic
#130618 #280D32 #4E1A62 #742792 #9B34C3

Accessibility & contrast

On white

12.74
#4E1A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A62
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A62#FFFFFF#000000##FFFFFF
##4E1A621.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#183460
Tritanopia (blue-blind)
#4C283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1a62;
/* rgb */ color: rgb(78, 26, 98);
/* oklch */ color: oklch(33.5% 0.127 315.0);
Tailwind
colors: {
  custom: {
    50: '#825b8f',
    500: '#4e1a62',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a62;
$custom-light: #825b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a62",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 283.333,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33482,
    "c": 0.12655,
    "h": 315
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#4E1A62
secondary
#589840
accent
#E14772
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1A62

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

Preview Lab → · Contrast checker → · Palette generator →

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