#4E1364#4E1364

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

Color values

HEX#4E1364
RGBrgb(78, 19, 100)
HSLhsl(284, 68%, 23%)
HSVhsv(284, 81%, 39%)
CMYKcmyk(22%, 81%, 0%, 60.8%)
CIE-LABlab(20.07, 39.96, -34.59)
CIE-LCHlch(20.07, 52.85, 319.12°)
OKLaboklab(32.88% 0.0968 -0.0976)
OKLCHoklch(32.88% 0.138 314.8)
XYZxyz(5.6746, 3.0058, 12.3354)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1364 #296413
analogous
#251364 #4E1364 #641351
triadic
#4E1364 #644E13 #13644E
tetradic
#4E1364 #642513 #296413 #135164
square
#4E1364 #642513 #296413 #135164
split-complementary
#4E1364 #516413 #136425
monochromatic
#14051A #260931 #4E1364 #761D97 #9E27CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E1364#FFFFFF#000000##FFFFFF
##4E13641.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)
#002D66
Deuteranopia (green-blind)
#0E3262
Tritanopia (blue-blind)
#4C253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1364;
/* rgb */ color: rgb(78, 19, 100);
/* oklch */ color: oklch(32.9% 0.138 314.8);
Tailwind
colors: {
  custom: {
    50: '#835891',
    500: '#4e1364',
    950: '#000000',
  },
}
SCSS
$custom: #4e1364;
$custom-light: #835891;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1364",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 283.704,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.13751,
    "h": 314.8
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#4E1364
secondary
#529C37
accent
#EB3D6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1364

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

Preview Lab → · Contrast checker → · Palette generator →

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