#4E1756#4E1756

#4E1756 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.118 H 322.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4E1756
RGBrgb(78, 23, 86)
HSLhsl(292, 58%, 21%)
HSVhsv(292, 73%, 34%)
CMYKcmyk(9.3%, 73.3%, 0%, 66.3%)
CIE-LABlab(19.66, 35.23, -25.94)
CIE-LCHlch(19.66, 43.75, 323.64°)
OKLaboklab(32.27% 0.0938 -0.0723)
OKLCHoklch(32.27% 0.118 322.4)
XYZxyz(5.1278, 2.9047, 9.0929)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1756 #1F5617
analogous
#2F1756 #4E1756 #56173F
triadic
#4E1756 #564E17 #17564E
tetradic
#4E1756 #562F17 #1F5617 #173F56
square
#4E1756 #562F17 #1F5617 #173F56
split-complementary
#4E1756 #3F5617 #17562F
monochromatic
#160618 #220A26 #4E1756 #7A2486 #A631B7

Accessibility & contrast

On white

13.28
#4E1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1756
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1756#FFFFFF#000000##FFFFFF
##4E17561.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C58
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#4F2234
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1756;
/* rgb */ color: rgb(78, 23, 86);
/* oklch */ color: oklch(32.3% 0.118 322.4);
Tailwind
colors: {
  custom: {
    50: '#825986',
    500: '#4e1756',
    950: '#000000',
  },
}
SCSS
$custom: #4e1756;
$custom-light: #825986;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1756",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 292.381,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32266,
    "c": 0.11845,
    "h": 322.4
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#4E1756
secondary
#468D3C
accent
#E1475A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1756

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

Preview Lab → · Contrast checker → · Palette generator →

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