#4E105A#4E105A

#4E105A is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.131 H 320.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4E105A
RGBrgb(78, 16, 90)
HSLhsl(290, 70%, 21%)
HSVhsv(290, 82%, 35%)
CMYKcmyk(13.3%, 82.2%, 0%, 64.7%)
CIE-LABlab(18.92, 38.95, -29.80)
CIE-LCHlch(18.92, 49.04, 322.58°)
OKLaboklab(31.83% 0.1013 -0.0836)
OKLCHoklch(31.83% 0.131 320.5)
XYZxyz(5.1724, 2.7287, 9.9251)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E105A #1C5A10
analogous
#29105A #4E105A #5A1041
triadic
#4E105A #5A4E10 #105A4E
tetradic
#4E105A #5A2910 #1C5A10 #10415A
square
#4E105A #5A2910 #1C5A10 #10415A
split-complementary
#4E105A #415A10 #105A29
monochromatic
#17051A #210726 #4E105A #7B198E #A822C2

Accessibility & contrast

On white

13.59
#4E105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E105A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E105A#FFFFFF#000000##FFFFFF
##4E105A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#183058
Tritanopia (blue-blind)
#4E1F35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e105a;
/* rgb */ color: rgb(78, 16, 90);
/* oklch */ color: oklch(31.8% 0.131 320.5);
Tailwind
colors: {
  custom: {
    50: '#835689',
    500: '#4e105a',
    950: '#000000',
  },
}
SCSS
$custom: #4e105a;
$custom-light: #835689;
$custom-dark: #000000;
JSON
{
  "hex": "#4e105a",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 290.27,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.13128,
    "h": 320.5
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#4E105A
secondary
#429333
accent
#ED3B58
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E105A

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

Preview Lab → · Contrast checker → · Palette generator →

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