#4E1050#4E1050

#4E1050 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.122 H 326.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4E1050
RGBrgb(78, 16, 80)
HSLhsl(298, 67%, 19%)
HSVhsv(298, 80%, 31%)
CMYKcmyk(2.5%, 80%, 0%, 68.6%)
CIE-LABlab(18.23, 36.95, -24.16)
CIE-LCHlch(18.23, 44.14, 326.82°)
OKLaboklab(31.12% 0.102 -0.0671)
OKLCHoklch(31.12% 0.122 326.7)
XYZxyz(4.7751, 2.5698, 7.8324)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1050 #125010
analogous
#2E1050 #4E1050 #501032
triadic
#4E1050 #504E10 #10504E
tetradic
#4E1050 #502E10 #125010 #103250
square
#4E1050 #502E10 #125010 #103250
split-complementary
#4E1050 #325010 #10502E
monochromatic
#19051A #1C061D #4E1050 #801A83 #B124B6

Accessibility & contrast

On white

13.87
#4E1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1050
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1050#FFFFFF#000000##FFFFFF
##4E10501.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022852
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#501B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1050;
/* rgb */ color: rgb(78, 16, 80);
/* oklch */ color: oklch(31.1% 0.122 326.7);
Tailwind
colors: {
  custom: {
    50: '#825681',
    500: '#4e1050',
    950: '#000000',
  },
}
SCSS
$custom: #4e1050;
$custom-light: #825681;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1050",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 298.125,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31117,
    "c": 0.12207,
    "h": 326.7
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#4E1050
secondary
#358A32
accent
#EA3E44
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1050

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

Preview Lab → · Contrast checker → · Palette generator →

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