#4E1467#4E1467

#4E1467 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.139 H 313.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4E1467
RGBrgb(78, 20, 103)
HSLhsl(282, 67%, 24%)
HSVhsv(282, 81%, 40%)
CMYKcmyk(24.3%, 80.6%, 0%, 59.6%)
CIE-LABlab(20.44, 40.24, -35.96)
CIE-LCHlch(20.44, 53.96, 318.21°)
OKLaboklab(33.21% 0.0953 -0.1017)
OKLCHoklch(33.21% 0.139 313.2)
XYZxyz(5.8398, 3.0995, 13.1200)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1467 #2D6714
analogous
#251467 #4E1467 #671457
triadic
#4E1467 #674E14 #14674E
tetradic
#4E1467 #672514 #2D6714 #145767
square
#4E1467 #672514 #2D6714 #145767
split-complementary
#4E1467 #576714 #146725
monochromatic
#13051A #270A34 #4E1467 #751E9A #9C28CD

Accessibility & contrast

On white

12.96
#4E1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1467
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1467#FFFFFF#000000##FFFFFF
##4E14671.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#0A3265
Tritanopia (blue-blind)
#4B273D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1467;
/* rgb */ color: rgb(78, 20, 103);
/* oklch */ color: oklch(33.2% 0.139 313.2);
Tailwind
colors: {
  custom: {
    50: '#835993',
    500: '#4e1467',
    950: '#000000',
  },
}
SCSS
$custom: #4e1467;
$custom-light: #835993;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1467",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 281.928,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33214,
    "c": 0.13936,
    "h": 313.2
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#4E1467
secondary
#579E39
accent
#EA3D72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1467

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

Preview Lab → · Contrast checker → · Palette generator →

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