#4E1B63#4E1B63

#4E1B63 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.126 H 314.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#4E1B63
RGBrgb(78, 27, 99)
HSLhsl(283, 57%, 25%)
HSVhsv(283, 73%, 39%)
CMYKcmyk(21.2%, 72.7%, 0%, 61.2%)
CIE-LABlab(21.22, 36.23, -32.07)
CIE-LCHlch(21.22, 48.39, 318.49°)
OKLaboklab(33.68% 0.0882 -0.0903)
OKLCHoklch(33.68% 0.126 314.3)
XYZxyz(5.7856, 3.3046, 12.1350)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B63 #30631B
analogous
#2A1B63 #4E1B63 #631B54
triadic
#4E1B63 #634E1B #1B634E
tetradic
#4E1B63 #632A1B #30631B #1B5463
square
#4E1B63 #632A1B #30631B #1B5463
split-complementary
#4E1B63 #54631B #1B632A
monochromatic
#130718 #280E33 #4E1B63 #742893 #9A35C3

Accessibility & contrast

On white

12.64
#4E1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B63
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B63#FFFFFF#000000##FFFFFF
##4E1B631.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1b63;
/* rgb */ color: rgb(78, 27, 99);
/* oklch */ color: oklch(33.7% 0.126 314.3);
Tailwind
colors: {
  custom: {
    50: '#825c90',
    500: '#4e1b63',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b63;
$custom-light: #825c90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b63",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 282.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.1262,
    "h": 314.3
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#4E1B63
secondary
#5B9841
accent
#E04774
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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