#4E1A63#4E1A63

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

Color values

HEX#4E1A63
RGBrgb(78, 26, 99)
HSLhsl(283, 58%, 25%)
HSVhsv(283, 74%, 39%)
CMYKcmyk(21.2%, 73.7%, 0%, 61.2%)
CIE-LABlab(21.05, 36.71, -32.34)
CIE-LCHlch(21.05, 48.92, 318.62°)
OKLaboklab(33.56% 0.0894 -0.0911)
OKLCHoklch(33.56% 0.128 314.5)
XYZxyz(5.7630, 3.2595, 12.1275)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A63 #2F631A
analogous
#2A1A63 #4E1A63 #631A54
triadic
#4E1A63 #634E1A #1A634E
tetradic
#4E1A63 #632A1A #2F631A #1A5463
square
#4E1A63 #632A1A #2F631A #1A5463
split-complementary
#4E1A63 #54631A #1A632A
monochromatic
#130618 #280D33 #4E1A63 #742793 #9A33C4

Accessibility & contrast

On white

12.71
#4E1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A63
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A63#FFFFFF#000000##FFFFFF
##4E1A631.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1a63;
/* rgb */ color: rgb(78, 26, 99);
/* oklch */ color: oklch(33.6% 0.128 314.5);
Tailwind
colors: {
  custom: {
    50: '#825c90',
    500: '#4e1a63',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a63;
$custom-light: #825c90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a63",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 282.74,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.12761,
    "h": 314.5
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#4E1A63
secondary
#5A9940
accent
#E24673
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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