#4E1661#4E1661

#4E1661 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.131 H 316.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#4E1661
RGBrgb(78, 22, 97)
HSLhsl(285, 63%, 23%)
HSVhsv(285, 77%, 38%)
CMYKcmyk(19.6%, 77.3%, 0%, 62%)
CIE-LABlab(20.27, 38.06, -32.28)
CIE-LCHlch(20.27, 49.91, 319.70°)
OKLaboklab(32.95% 0.0942 -0.0909)
OKLCHoklch(32.95% 0.131 316)
XYZxyz(5.5861, 3.0568, 11.6027)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1661 #296116
analogous
#281661 #4E1661 #61164E
triadic
#4E1661 #614E16 #16614E
tetradic
#4E1661 #612816 #296116 #164E61
square
#4E1661 #612816 #296116 #164E61
split-complementary
#4E1661 #4E6116 #166128
monochromatic
#140619 #260B2F #4E1661 #762193 #9E2DC5

Accessibility & contrast

On white

13.03
#4E1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1661
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1661#FFFFFF#000000##FFFFFF
##4E16611.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#15325F
Tritanopia (blue-blind)
#4D263A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1661;
/* rgb */ color: rgb(78, 22, 97);
/* oklch */ color: oklch(33.0% 0.131 316.0);
Tailwind
colors: {
  custom: {
    50: '#83598e',
    500: '#4e1661',
    950: '#000000',
  },
}
SCSS
$custom: #4e1661;
$custom-light: #83598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1661",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 284.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3295,
    "c": 0.13088,
    "h": 316
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#4E1661
secondary
#52983B
accent
#E6426B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1661

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

Preview Lab → · Contrast checker → · Palette generator →

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