#4E1058#4E1058

#4E1058 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.129 H 321.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4E1058
RGBrgb(78, 16, 88)
HSLhsl(292, 69%, 20%)
HSVhsv(292, 82%, 35%)
CMYKcmyk(11.4%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.78, 38.53, -28.69)
CIE-LCHlch(18.78, 48.04, 323.33°)
OKLaboklab(31.68% 0.1015 -0.0803)
OKLCHoklch(31.68% 0.129 321.6)
XYZxyz(5.0884, 2.6952, 9.4828)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1058 #1A5810
analogous
#2A1058 #4E1058 #58103E
triadic
#4E1058 #584E10 #10584E
tetradic
#4E1058 #582A10 #1A5810 #103E58
square
#4E1058 #582A10 #1A5810 #103E58
split-complementary
#4E1058 #3E5810 #10582A
monochromatic
#17051A #200724 #4E1058 #7C198C #AA23C0

Accessibility & contrast

On white

13.65
#4E1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1058
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1058#FFFFFF#000000##FFFFFF
##4E10581.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#4F1E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1058;
/* rgb */ color: rgb(78, 16, 88);
/* oklch */ color: oklch(31.7% 0.129 321.6);
Tailwind
colors: {
  custom: {
    50: '#825687',
    500: '#4e1058',
    950: '#000000',
  },
}
SCSS
$custom: #4e1058;
$custom-light: #825687;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1058",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 291.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31683,
    "c": 0.12941,
    "h": 321.6
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#4E1058
secondary
#409132
accent
#EC3C54
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1058

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

Preview Lab → · Contrast checker → · Palette generator →

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