#4E1663#4E1663

#4E1663 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.133 H 315.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#4E1663
RGBrgb(78, 22, 99)
HSLhsl(284, 64%, 24%)
HSVhsv(284, 78%, 39%)
CMYKcmyk(21.2%, 77.8%, 0%, 61.2%)
CIE-LABlab(20.42, 38.51, -33.36)
CIE-LCHlch(20.42, 50.95, 319.10°)
OKLaboklab(33.1% 0.0939 -0.0941)
OKLCHoklch(33.1% 0.133 315)
XYZxyz(5.6806, 3.0946, 12.1000)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1663 #2B6316
analogous
#271663 #4E1663 #631651
triadic
#4E1663 #634E16 #16634E
tetradic
#4E1663 #632716 #2B6316 #165163
square
#4E1663 #632716 #2B6316 #165163
split-complementary
#4E1663 #516316 #166327
monochromatic
#140619 #270B31 #4E1663 #752195 #9D2CC7

Accessibility & contrast

On white

12.97
#4E1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1663
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1663#FFFFFF#000000##FFFFFF
##4E16631.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#133361
Tritanopia (blue-blind)
#4C273B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1663;
/* rgb */ color: rgb(78, 22, 99);
/* oklch */ color: oklch(33.1% 0.133 315.0);
Tailwind
colors: {
  custom: {
    50: '#835a90',
    500: '#4e1663',
    950: '#000000',
  },
}
SCSS
$custom: #4e1663;
$custom-light: #835a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1663",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 283.636,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33103,
    "c": 0.13291,
    "h": 315
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#4E1663
secondary
#559A3B
accent
#E7416E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1663

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

Preview Lab → · Contrast checker → · Palette generator →

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