#4E1647#4E1647

#4E1647 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.106 H 333.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4E1647
RGBrgb(78, 22, 71)
HSLhsl(308, 56%, 20%)
HSVhsv(308, 72%, 31%)
CMYKcmyk(0%, 71.8%, 9%, 69.4%)
CIE-LABlab(18.58, 32.72, -17.45)
CIE-LCHlch(18.58, 37.08, 331.92°)
OKLaboklab(31.19% 0.0943 -0.0477)
OKLCHoklch(31.19% 0.106 333.1)
XYZxyz(4.5661, 2.6488, 6.2308)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1647 #164E1D
analogous
#39164E #4E1647 #4E162B
triadic
#4E1647 #474E16 #16474E
tetradic
#4E1647 #4E3916 #164E1D #162B4E
square
#4E1647 #4E3916 #164E1D #162B4E
split-complementary
#4E1647 #2B4E16 #164E39
monochromatic
#180716 #1E091C #4E1647 #7E2372 #AD319E

Accessibility & contrast

On white

13.73
#4E1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1647
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1647#FFFFFF#000000##FFFFFF
##4E16471.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142848
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#521B2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1647;
/* rgb */ color: rgb(78, 22, 71);
/* oklch */ color: oklch(31.2% 0.106 333.1);
Tailwind
colors: {
  custom: {
    50: '#82587a',
    500: '#4e1647',
    950: '#000000',
  },
}
SCSS
$custom: #4e1647;
$custom-light: #82587a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1647",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 307.5,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.1057,
    "h": 333.1
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#4E1647
secondary
#3A8544
accent
#DF5B49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1647

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

Preview Lab → · Contrast checker → · Palette generator →

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