#4E1B65#4E1B65

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

Color values

HEX#4E1B65
RGBrgb(78, 27, 101)
HSLhsl(281, 58%, 25%)
HSVhsv(281, 73%, 40%)
CMYKcmyk(22.8%, 73.3%, 0%, 60.4%)
CIE-LABlab(21.37, 36.70, -33.15)
CIE-LCHlch(21.37, 49.45, 317.91°)
OKLaboklab(33.83% 0.088 -0.0935)
OKLCHoklch(33.83% 0.128 313.3)
XYZxyz(5.8824, 3.3433, 12.6449)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B65 #32651B
analogous
#291B65 #4E1B65 #651B57
triadic
#4E1B65 #654E1B #1B654E
tetradic
#4E1B65 #65291B #32651B #1B5765
square
#4E1B65 #65291B #32651B #1B5765
split-complementary
#4E1B65 #57651B #1B6529
monochromatic
#130618 #290E35 #4E1B65 #732895 #9935C6

Accessibility & contrast

On white

12.59
#4E1B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B65
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B65#FFFFFF#000000##FFFFFF
##4E1B651.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#153463
Tritanopia (blue-blind)
#4C2A3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1b65;
/* rgb */ color: rgb(78, 27, 101);
/* oklch */ color: oklch(33.8% 0.128 313.3);
Tailwind
colors: {
  custom: {
    50: '#825c91',
    500: '#4e1b65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b65;
$custom-light: #825c91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b65",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 281.351,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.12836,
    "h": 313.3
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#4E1B65
secondary
#5D9A41
accent
#E14777
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1B65

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

Preview Lab → · Contrast checker → · Palette generator →

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