#4E1355#4E1355

#4E1355 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.123 H 323.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1355
RGBrgb(78, 19, 85)
HSLhsl(294, 63%, 20%)
HSVhsv(294, 78%, 33%)
CMYKcmyk(8.2%, 77.6%, 0%, 66.7%)
CIE-LABlab(18.98, 36.76, -26.35)
CIE-LCHlch(18.98, 45.23, 324.36°)
OKLaboklab(31.76% 0.0985 -0.0735)
OKLCHoklch(31.76% 0.123 323.3)
XYZxyz(5.0143, 2.7416, 8.8576)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1355 #1A5513
analogous
#2D1355 #4E1355 #55133B
triadic
#4E1355 #554E13 #13554E
tetradic
#4E1355 #552D13 #1A5513 #133B55
square
#4E1355 #552D13 #1A5513 #133B55
split-complementary
#4E1355 #3B5513 #13552D
monochromatic
#170619 #200823 #4E1355 #7C1E87 #AA29B9

Accessibility & contrast

On white

13.56
#4E1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1355
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1355#FFFFFF#000000##FFFFFF
##4E13551.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#1E3053
Tritanopia (blue-blind)
#4F1F32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1355;
/* rgb */ color: rgb(78, 19, 85);
/* oklch */ color: oklch(31.8% 0.123 323.3);
Tailwind
colors: {
  custom: {
    50: '#825785',
    500: '#4e1355',
    950: '#000000',
  },
}
SCSS
$custom: #4e1355;
$custom-light: #825785;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1355",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 293.636,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.12294,
    "h": 323.3
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#4E1355
secondary
#408D36
accent
#E64153
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1355

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

Preview Lab → · Contrast checker → · Palette generator →

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