#4E1163#4E1163

#4E1163 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.139 H 315.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4E1163
RGBrgb(78, 17, 99)
HSLhsl(285, 71%, 23%)
HSVhsv(285, 83%, 39%)
CMYKcmyk(21.2%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.73, 40.49, -34.48)
CIE-LCHlch(19.73, 53.18, 319.59°)
OKLaboklab(32.61% 0.0989 -0.0973)
OKLCHoklch(32.61% 0.139 315.5)
XYZxyz(5.5941, 2.9217, 12.0712)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1163 #266311
analogous
#251163 #4E1163 #63114F
triadic
#4E1163 #634E11 #11634E
tetradic
#4E1163 #632511 #266311 #114F63
square
#4E1163 #632511 #266311 #114F63
split-complementary
#4E1163 #4F6311 #116325
monochromatic
#15041A #25082F #4E1163 #771A97 #A023CB

Accessibility & contrast

On white

13.26
#4E1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1163
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1163#FFFFFF#000000##FFFFFF
##4E11631.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0E3161
Tritanopia (blue-blind)
#4C243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1163;
/* rgb */ color: rgb(78, 17, 99);
/* oklch */ color: oklch(32.6% 0.139 315.5);
Tailwind
colors: {
  custom: {
    50: '#835790',
    500: '#4e1163',
    950: '#000000',
  },
}
SCSS
$custom: #4e1163;
$custom-light: #835790;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1163",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 284.634,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.13875,
    "h": 315.5
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#4E1163
secondary
#4F9B34
accent
#ED3A68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E1163

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

Preview Lab → · Contrast checker → · Palette generator →

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