#4E1964#4E1964

#4E1964 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.130 H 314.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4E1964
RGBrgb(78, 25, 100)
HSLhsl(282, 60%, 25%)
HSVhsv(282, 75%, 39%)
CMYKcmyk(22%, 75%, 0%, 60.8%)
CIE-LABlab(20.96, 37.41, -33.15)
CIE-LCHlch(20.96, 49.98, 318.46°)
OKLaboklab(33.51% 0.0904 -0.0934)
OKLCHoklch(33.51% 0.13 314.1)
XYZxyz(5.7894, 3.2353, 12.3736)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1964 #2F6419
analogous
#291964 #4E1964 #641955
triadic
#4E1964 #644E19 #19644E
tetradic
#4E1964 #642919 #2F6419 #195564
square
#4E1964 #642919 #2F6419 #195564
split-complementary
#4E1964 #556419 #196429
monochromatic
#130618 #280D33 #4E1964 #742595 #9A31C6

Accessibility & contrast

On white

12.75
#4E1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1964
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1964#FFFFFF#000000##FFFFFF
##4E19641.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#153462
Tritanopia (blue-blind)
#4C293C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1964;
/* rgb */ color: rgb(78, 25, 100);
/* oklch */ color: oklch(33.5% 0.130 314.1);
Tailwind
colors: {
  custom: {
    50: '#835b91',
    500: '#4e1964',
    950: '#000000',
  },
}
SCSS
$custom: #4e1964;
$custom-light: #835b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1964",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 282.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.13004,
    "h": 314.1
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#4E1964
secondary
#5A9A3F
accent
#E34573
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1964

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

Preview Lab → · Contrast checker → · Palette generator →

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