#4E1956#4E1956

#4E1956 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.116 H 322.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4E1956
RGBrgb(78, 25, 86)
HSLhsl(292, 55%, 22%)
HSVhsv(292, 71%, 34%)
CMYKcmyk(9.3%, 70.9%, 0%, 66.3%)
CIE-LABlab(19.99, 34.30, -25.41)
CIE-LCHlch(19.99, 42.68, 323.47°)
OKLaboklab(32.51% 0.0913 -0.0708)
OKLCHoklch(32.51% 0.116 322.2)
XYZxyz(5.1691, 2.9871, 9.1066)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1956 #215619
analogous
#301956 #4E1956 #561940
triadic
#4E1956 #564E19 #19564E
tetradic
#4E1956 #563019 #215619 #194056
square
#4E1956 #563019 #215619 #194056
split-complementary
#4E1956 #405619 #195630
monochromatic
#160718 #230B27 #4E1956 #792785 #A435B5

Accessibility & contrast

On white

13.15
#4E1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1956
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1956#FFFFFF#000000##FFFFFF
##4E19561.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#4F2335
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1956;
/* rgb */ color: rgb(78, 25, 86);
/* oklch */ color: oklch(32.5% 0.116 322.2);
Tailwind
colors: {
  custom: {
    50: '#825a86',
    500: '#4e1956',
    950: '#000000',
  },
}
SCSS
$custom: #4e1956;
$custom-light: #825a86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1956",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 292.131,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32507,
    "c": 0.1155,
    "h": 322.2
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#4E1956
secondary
#498C3E
accent
#DE4A5D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1956

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

Preview Lab → · Contrast checker → · Palette generator →

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