#4E1963#4E1963

#4E1963 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.129 H 314.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4E1963
RGBrgb(78, 25, 99)
HSLhsl(283, 60%, 24%)
HSVhsv(283, 75%, 39%)
CMYKcmyk(21.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(20.89, 37.18, -32.61)
CIE-LCHlch(20.89, 49.45, 318.75°)
OKLaboklab(33.44% 0.0906 -0.0919)
OKLCHoklch(33.44% 0.129 314.6)
XYZxyz(5.7413, 3.2160, 12.1203)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1963 #2E6319
analogous
#291963 #4E1963 #631953
triadic
#4E1963 #634E19 #19634E
tetradic
#4E1963 #632919 #2E6319 #195363
square
#4E1963 #632919 #2E6319 #195363
split-complementary
#4E1963 #536319 #196329
monochromatic
#130618 #280D32 #4E1963 #742594 #9B32C5

Accessibility & contrast

On white

12.78
#4E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1963
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1963#FFFFFF#000000##FFFFFF
##4E19631.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1963;
/* rgb */ color: rgb(78, 25, 99);
/* oklch */ color: oklch(33.4% 0.129 314.6);
Tailwind
colors: {
  custom: {
    50: '#825b90',
    500: '#4e1963',
    950: '#000000',
  },
}
SCSS
$custom: #4e1963;
$custom-light: #825b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1963",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 282.973,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33438,
    "c": 0.12899,
    "h": 314.6
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#4E1963
secondary
#58993F
accent
#E34572
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1963

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

Preview Lab → · Contrast checker → · Palette generator →

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