#4E1764#4E1764

#4E1764 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.133 H 314.3°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4E1764
RGBrgb(78, 23, 100)
HSLhsl(283, 63%, 24%)
HSVhsv(283, 77%, 39%)
CMYKcmyk(22%, 77%, 0%, 60.8%)
CIE-LABlab(20.65, 38.30, -33.66)
CIE-LCHlch(20.65, 50.99, 318.70°)
OKLaboklab(33.29% 0.0927 -0.0949)
OKLCHoklch(33.29% 0.133 314.3)
XYZxyz(5.7481, 3.1528, 12.3599)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1764 #2D6417
analogous
#281764 #4E1764 #641754
triadic
#4E1764 #644E17 #17644E
tetradic
#4E1764 #642817 #2D6417 #175464
square
#4E1764 #642817 #2D6417 #175464
split-complementary
#4E1764 #546417 #176428
monochromatic
#130619 #270C32 #4E1764 #752296 #9C2EC8

Accessibility & contrast

On white

12.88
#4E1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1764
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1764#FFFFFF#000000##FFFFFF
##4E17641.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#133362
Tritanopia (blue-blind)
#4C283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1764;
/* rgb */ color: rgb(78, 23, 100);
/* oklch */ color: oklch(33.3% 0.133 314.3);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4e1764',
    950: '#000000',
  },
}
SCSS
$custom: #4e1764;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1764",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 282.857,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.13268,
    "h": 314.3
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#4E1764
secondary
#579A3C
accent
#E64271
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1764

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

Preview Lab → · Contrast checker → · Palette generator →

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