#4E1362#4E1362

#4E1362 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.136 H 315.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1362
RGBrgb(78, 19, 98)
HSLhsl(285, 68%, 23%)
HSVhsv(285, 81%, 38%)
CMYKcmyk(20.4%, 80.6%, 0%, 61.6%)
CIE-LABlab(19.91, 39.52, -33.52)
CIE-LCHlch(19.91, 51.82, 319.69°)
OKLaboklab(32.72% 0.0972 -0.0945)
OKLCHoklch(32.72% 0.136 315.8)
XYZxyz(5.5790, 2.9675, 11.8318)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1362 #276213
analogous
#261362 #4E1362 #62134E
triadic
#4E1362 #624E13 #13624E
tetradic
#4E1362 #622613 #276213 #134E62
square
#4E1362 #622613 #276213 #134E62
split-complementary
#4E1362 #4E6213 #136226
monochromatic
#14051A #25092F #4E1362 #771D95 #A027C9

Accessibility & contrast

On white

13.18
#4E1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1362
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1362#FFFFFF#000000##FFFFFF
##4E13621.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#113260
Tritanopia (blue-blind)
#4D253A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1362;
/* rgb */ color: rgb(78, 19, 98);
/* oklch */ color: oklch(32.7% 0.136 315.8);
Tailwind
colors: {
  custom: {
    50: '#83588f',
    500: '#4e1362',
    950: '#000000',
  },
}
SCSS
$custom: #4e1362;
$custom-light: #83588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1362",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 284.81,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32721,
    "c": 0.13554,
    "h": 315.8
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#4E1362
secondary
#509A37
accent
#EA3D69
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1362

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

Preview Lab → · Contrast checker → · Palette generator →

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