#4E106C#4E106C

#4E106C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.148 H 311.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4E106C
RGBrgb(78, 16, 108)
HSLhsl(280, 74%, 24%)
HSVhsv(280, 85%, 42%)
CMYKcmyk(27.8%, 85.2%, 0%, 57.6%)
CIE-LABlab(20.33, 42.84, -39.39)
CIE-LCHlch(20.33, 58.20, 317.40°)
OKLaboklab(33.27% 0.0978 -0.1117)
OKLCHoklch(33.27% 0.148 311.2)
XYZxyz(6.0334, 3.0731, 14.4598)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E106C #2E6C10
analogous
#20106C #4E106C #6C105C
triadic
#4E106C #6C4E10 #106C4E
tetradic
#4E106C #6C2010 #2E6C10 #105C6C
square
#4E106C #6C2010 #2E6C10 #105C6C
split-complementary
#4E106C #5C6C10 #106C20
monochromatic
#13041B #280837 #4E106C #7418A1 #9B20D7

Accessibility & contrast

On white

13.01
#4E106C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E106C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E106C#FFFFFF#000000##FFFFFF
##4E106C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#4A283F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e106c;
/* rgb */ color: rgb(78, 16, 108);
/* oklch */ color: oklch(33.3% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#845897',
    500: '#4e106c',
    950: '#000000',
  },
}
SCSS
$custom: #4e106c;
$custom-light: #845897;
$custom-dark: #000000;
JSON
{
  "hex": "#4e106c",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 108
  },
  "hsl": {
    "h": 280.435,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.14845,
    "h": 311.2
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#4E106C
secondary
#58A434
accent
#F13774
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E106C

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

Preview Lab → · Contrast checker → · Palette generator →

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