#4E1169#4E1169

#4E1169 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.1% C 0.145 H 312.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4E1169
RGBrgb(78, 17, 105)
HSLhsl(282, 72%, 24%)
HSVhsv(282, 84%, 41%)
CMYKcmyk(25.7%, 83.8%, 0%, 58.8%)
CIE-LABlab(20.21, 41.82, -37.64)
CIE-LCHlch(20.21, 56.27, 318.01°)
OKLaboklab(33.1% 0.0977 -0.1066)
OKLCHoklch(33.1% 0.145 312.5)
XYZxyz(5.8917, 3.0407, 13.6384)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1169 #2C6911
analogous
#221169 #4E1169 #691158
triadic
#4E1169 #694E11 #11694E
tetradic
#4E1169 #692211 #2C6911 #115869
square
#4E1169 #692211 #2C6911 #115869
split-complementary
#4E1169 #586911 #116922
monochromatic
#14041A #270834 #4E1169 #751A9E #9C22D2

Accessibility & contrast

On white

13.06
#4E1169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1169
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1169#FFFFFF#000000##FFFFFF
##4E11691.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#023267
Tritanopia (blue-blind)
#4B273D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1169;
/* rgb */ color: rgb(78, 17, 105);
/* oklch */ color: oklch(33.1% 0.145 312.5);
Tailwind
colors: {
  custom: {
    50: '#835894',
    500: '#4e1169',
    950: '#000000',
  },
}
SCSS
$custom: #4e1169;
$custom-light: #835894;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1169",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 281.591,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33102,
    "c": 0.14456,
    "h": 312.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#4E1169
secondary
#56A135
accent
#EF3971
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1169

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

Preview Lab → · Contrast checker → · Palette generator →

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