#4E1955#4E1955

#4E1955 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.114 H 322.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4E1955
RGBrgb(78, 25, 85)
HSLhsl(293, 55%, 22%)
HSVhsv(293, 71%, 33%)
CMYKcmyk(8.2%, 70.6%, 0%, 66.7%)
CIE-LABlab(19.93, 34.08, -24.84)
CIE-LCHlch(19.93, 42.17, 323.92°)
OKLaboklab(32.44% 0.0912 -0.0691)
OKLCHoklch(32.44% 0.114 322.8)
XYZxyz(5.1290, 2.9711, 8.8959)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1955 #205519
analogous
#301955 #4E1955 #55193E
triadic
#4E1955 #554E19 #19554E
tetradic
#4E1955 #553019 #205519 #193E55
square
#4E1955 #553019 #205519 #193E55
split-complementary
#4E1955 #3E5519 #195530
monochromatic
#160718 #230B26 #4E1955 #792784 #A535B4

Accessibility & contrast

On white

13.17
#4E1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1955
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1955#FFFFFF#000000##FFFFFF
##4E19551.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C57
Deuteranopia (green-blind)
#223253
Tritanopia (blue-blind)
#4F2334
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1955;
/* rgb */ color: rgb(78, 25, 85);
/* oklch */ color: oklch(32.4% 0.114 322.8);
Tailwind
colors: {
  custom: {
    50: '#825a85',
    500: '#4e1955',
    950: '#000000',
  },
}
SCSS
$custom: #4e1955;
$custom-light: #825a85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1955",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 293,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3244,
    "c": 0.11448,
    "h": 322.8
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#4E1955
secondary
#478B3E
accent
#DE4A5B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1955

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

Preview Lab → · Contrast checker → · Palette generator →

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