#4E1462#4E1462

#4E1462 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.134 H 315.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4E1462
RGBrgb(78, 20, 98)
HSLhsl(285, 66%, 23%)
HSVhsv(285, 80%, 38%)
CMYKcmyk(20.4%, 79.6%, 0%, 61.6%)
CIE-LABlab(20.05, 39.12, -33.30)
CIE-LCHlch(20.05, 51.37, 319.60°)
OKLaboklab(32.82% 0.0962 -0.0938)
OKLCHoklch(32.82% 0.134 315.7)
XYZxyz(5.5963, 3.0021, 11.8376)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1462 #286214
analogous
#271462 #4E1462 #62144F
triadic
#4E1462 #624E14 #14624E
tetradic
#4E1462 #622714 #286214 #144F62
square
#4E1462 #622714 #286214 #144F62
split-complementary
#4E1462 #4F6214 #146227
monochromatic
#140519 #260A2F #4E1462 #761E95 #9F29C8

Accessibility & contrast

On white

13.12
#4E1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1462
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1462#FFFFFF#000000##FFFFFF
##4E14621.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1462;
/* rgb */ color: rgb(78, 20, 98);
/* oklch */ color: oklch(32.8% 0.134 315.7);
Tailwind
colors: {
  custom: {
    50: '#83598f',
    500: '#4e1462',
    950: '#000000',
  },
}
SCSS
$custom: #4e1462;
$custom-light: #83598f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1462",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 284.615,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.13437,
    "h": 315.7
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#4E1462
secondary
#519938
accent
#E93F6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1462

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

Preview Lab → · Contrast checker → · Palette generator →

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