#4E1261#4E1261

#4E1261 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.136 H 316.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#4E1261
RGBrgb(78, 18, 97)
HSLhsl(286, 69%, 23%)
HSVhsv(286, 81%, 38%)
CMYKcmyk(19.6%, 81.4%, 0%, 62%)
CIE-LABlab(19.70, 39.69, -33.20)
CIE-LCHlch(19.70, 51.74, 320.09°)
OKLaboklab(32.55% 0.0983 -0.0935)
OKLCHoklch(32.55% 0.136 316.4)
XYZxyz(5.5155, 2.9156, 11.5792)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1261 #256112
analogous
#271261 #4E1261 #61124C
triadic
#4E1261 #614E12 #12614E
tetradic
#4E1261 #612712 #256112 #124C61
square
#4E1261 #612712 #256112 #124C61
split-complementary
#4E1261 #4C6112 #126127
monochromatic
#15051A #24082D #4E1261 #781C95 #A125C8

Accessibility & contrast

On white

13.27
#4E1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1261
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1261#FFFFFF#000000##FFFFFF
##4E12611.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#12315F
Tritanopia (blue-blind)
#4D2439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1261;
/* rgb */ color: rgb(78, 18, 97);
/* oklch */ color: oklch(32.5% 0.136 316.4);
Tailwind
colors: {
  custom: {
    50: '#83588e',
    500: '#4e1261',
    950: '#000000',
  },
}
SCSS
$custom: #4e1261;
$custom-light: #83588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1261",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 285.57,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32548,
    "c": 0.13571,
    "h": 316.4
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#4E1261
secondary
#4E9936
accent
#EC3C66
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1261

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

Preview Lab → · Contrast checker → · Palette generator →

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