#4E1863#4E1863

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

Color values

HEX#4E1863
RGBrgb(78, 24, 99)
HSLhsl(283, 61%, 24%)
HSVhsv(283, 76%, 39%)
CMYKcmyk(21.2%, 75.8%, 0%, 61.2%)
CIE-LABlab(20.73, 37.63, -32.87)
CIE-LCHlch(20.73, 49.97, 318.87°)
OKLaboklab(33.32% 0.0917 -0.0926)
OKLCHoklch(33.32% 0.13 314.7)
XYZxyz(5.7203, 3.1740, 12.1133)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1863 #2D6318
analogous
#291863 #4E1863 #631853
triadic
#4E1863 #634E18 #18634E
tetradic
#4E1863 #632918 #2D6318 #185363
square
#4E1863 #632918 #2D6318 #185363
split-complementary
#4E1863 #536318 #186329
monochromatic
#130619 #270C32 #4E1863 #752494 #9C30C6

Accessibility & contrast

On white

12.85
#4E1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1863
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1863#FFFFFF#000000##FFFFFF
##4E18631.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1863;
/* rgb */ color: rgb(78, 24, 99);
/* oklch */ color: oklch(33.3% 0.130 314.7);
Tailwind
colors: {
  custom: {
    50: '#835b90',
    500: '#4e1863',
    950: '#000000',
  },
}
SCSS
$custom: #4e1863;
$custom-light: #835b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1863",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 283.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33323,
    "c": 0.13034,
    "h": 314.7
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#4E1863
secondary
#57993E
accent
#E44471
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1863

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

Preview Lab → · Contrast checker → · Palette generator →

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