#4E1168#4E1168

#4E1168 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.144 H 313.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4E1168
RGBrgb(78, 17, 104)
HSLhsl(282, 72%, 24%)
HSVhsv(282, 84%, 41%)
CMYKcmyk(25%, 83.7%, 0%, 59.2%)
CIE-LABlab(20.13, 41.60, -37.12)
CIE-LCHlch(20.13, 55.75, 318.25°)
OKLaboklab(33.02% 0.0979 -0.1051)
OKLCHoklch(33.02% 0.144 313)
XYZxyz(5.8406, 3.0203, 13.3693)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1168 #2B6811
analogous
#221168 #4E1168 #681156
triadic
#4E1168 #684E11 #11684E
tetradic
#4E1168 #682211 #2B6811 #115668
square
#4E1168 #682211 #2B6811 #115668
split-complementary
#4E1168 #566811 #116822
monochromatic
#14041A #270833 #4E1168 #751A9D #9D22D1

Accessibility & contrast

On white

13.09
#4E1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1168
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1168#FFFFFF#000000##FFFFFF
##4E11681.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#043266
Tritanopia (blue-blind)
#4B263D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1168;
/* rgb */ color: rgb(78, 17, 104);
/* oklch */ color: oklch(33.0% 0.144 313.0);
Tailwind
colors: {
  custom: {
    50: '#835894',
    500: '#4e1168',
    950: '#000000',
  },
}
SCSS
$custom: #4e1168;
$custom-light: #835894;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1168",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 282.069,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.14359,
    "h": 313
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#4E1168
secondary
#55A035
accent
#EF396F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1168

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

Preview Lab → · Contrast checker → · Palette generator →

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