#4E1B64#4E1B64

#4E1B64 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.127 H 313.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1B64
RGBrgb(78, 27, 100)
HSLhsl(282, 57%, 25%)
HSVhsv(282, 73%, 39%)
CMYKcmyk(22%, 73%, 0%, 60.8%)
CIE-LABlab(21.30, 36.47, -32.61)
CIE-LCHlch(21.30, 48.92, 318.20°)
OKLaboklab(33.75% 0.0881 -0.0919)
OKLCHoklch(33.75% 0.127 313.8)
XYZxyz(5.8337, 3.3239, 12.3884)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B64 #31641B
analogous
#2A1B64 #4E1B64 #641B55
triadic
#4E1B64 #644E1B #1B644E
tetradic
#4E1B64 #642A1B #31641B #1B5564
square
#4E1B64 #642A1B #31641B #1B5564
split-complementary
#4E1B64 #55641B #1B642A
monochromatic
#130718 #280E34 #4E1B64 #742894 #9935C4

Accessibility & contrast

On white

12.61
#4E1B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B64
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B64#FFFFFF#000000##FFFFFF
##4E1B641.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#173462
Tritanopia (blue-blind)
#4C2A3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1b64;
/* rgb */ color: rgb(78, 27, 100);
/* oklch */ color: oklch(33.8% 0.127 313.8);
Tailwind
colors: {
  custom: {
    50: '#825c91',
    500: '#4e1b64',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b64;
$custom-light: #825c91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b64",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 281.918,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.12728,
    "h": 313.8
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#4E1B64
secondary
#5C9941
accent
#E14775
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1B64

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

Preview Lab → · Contrast checker → · Palette generator →

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