#4E0F62#4E0F62

#4E0F62 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.4% C 0.140 H 316.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4E0F62
RGBrgb(78, 15, 98)
HSLhsl(286, 73%, 22%)
HSVhsv(286, 85%, 38%)
CMYKcmyk(20.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(19.41, 40.98, -34.34)
CIE-LCHlch(19.41, 53.47, 320.04°)
OKLaboklab(32.36% 0.1009 -0.0969)
OKLCHoklch(32.36% 0.14 316.2)
XYZxyz(5.5170, 2.8434, 11.8111)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F62 #23620F
analogous
#250F62 #4E0F62 #620F4D
triadic
#4E0F62 #624E0F #0F624E
tetradic
#4E0F62 #62250F #23620F #0F4D62
square
#4E0F62 #62250F #23620F #0F4D62
split-complementary
#4E0F62 #4D620F #0F6225
monochromatic
#15041B #24072D #4E0F62 #781797 #A21FCC

Accessibility & contrast

On white

13.39
#4E0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F62
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F62#FFFFFF#000000##FFFFFF
##4E0F621.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#0E3160
Tritanopia (blue-blind)
#4D2339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e0f62;
/* rgb */ color: rgb(78, 15, 98);
/* oklch */ color: oklch(32.4% 0.140 316.2);
Tailwind
colors: {
  custom: {
    50: '#83578f',
    500: '#4e0f62',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f62;
$custom-light: #83578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f62",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 285.542,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.13986,
    "h": 316.2
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#4E0F62
secondary
#4B9B32
accent
#F03864
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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