#4E106A#4E106A

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

Color values

HEX#4E106A
RGBrgb(78, 16, 106)
HSLhsl(281, 74%, 24%)
HSVhsv(281, 85%, 42%)
CMYKcmyk(26.4%, 84.9%, 0%, 58.4%)
CIE-LABlab(20.17, 42.39, -38.36)
CIE-LCHlch(20.17, 57.17, 317.86°)
OKLaboklab(33.1% 0.0983 -0.1087)
OKLCHoklch(33.1% 0.147 312.1)
XYZxyz(5.9282, 3.0311, 13.9056)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E106A #2C6A10
analogous
#21106A #4E106A #6A1059
triadic
#4E106A #6A4E10 #106A4E
tetradic
#4E106A #6A2110 #2C6A10 #10596A
square
#4E106A #6A2110 #2C6A10 #10596A
split-complementary
#4E106A #596A10 #106A21
monochromatic
#14041B #270835 #4E106A #75189F #9C20D4

Accessibility & contrast

On white

13.07
#4E106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E106A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E106A#FFFFFF#000000##FFFFFF
##4E106A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#4B273E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e106a;
/* rgb */ color: rgb(78, 16, 106);
/* oklch */ color: oklch(33.1% 0.147 312.1);
Tailwind
colors: {
  custom: {
    50: '#835795',
    500: '#4e106a',
    950: '#000000',
  },
}
SCSS
$custom: #4e106a;
$custom-light: #835795;
$custom-dark: #000000;
JSON
{
  "hex": "#4e106a",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 281.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.14652,
    "h": 312.1
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#4E106A
secondary
#56A234
accent
#F03771
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E106A

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

Preview Lab → · Contrast checker → · Palette generator →

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