#4E1B61#4E1B61

#4E1B61 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.5% C 0.124 H 315.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#4E1B61
RGBrgb(78, 27, 97)
HSLhsl(284, 56%, 24%)
HSVhsv(284, 72%, 38%)
CMYKcmyk(19.6%, 72.2%, 0%, 62%)
CIE-LABlab(21.08, 35.77, -30.98)
CIE-LCHlch(21.08, 47.32, 319.11°)
OKLaboklab(33.53% 0.0883 -0.0871)
OKLCHoklch(33.53% 0.124 315.4)
XYZxyz(5.6911, 3.2668, 11.6377)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B61 #2E611B
analogous
#2B1B61 #4E1B61 #611B51
triadic
#4E1B61 #614E1B #1B614E
tetradic
#4E1B61 #612B1B #2E611B #1B5161
square
#4E1B61 #612B1B #2E611B #1B5161
split-complementary
#4E1B61 #51611B #1B612B
monochromatic
#130718 #280E31 #4E1B61 #742891 #9B36C1

Accessibility & contrast

On white

12.70
#4E1B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B61
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B61#FFFFFF#000000##FFFFFF
##4E1B611.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#1A345F
Tritanopia (blue-blind)
#4D293B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1b61;
/* rgb */ color: rgb(78, 27, 97);
/* oklch */ color: oklch(33.5% 0.124 315.4);
Tailwind
colors: {
  custom: {
    50: '#825c8e',
    500: '#4e1b61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b61;
$custom-light: #825c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b61",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 283.714,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.12405,
    "h": 315.4
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#4E1B61
secondary
#589741
accent
#E04871
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1B61

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

Preview Lab → · Contrast checker → · Palette generator →

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