#4E1959#4E1959

#4E1959 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.7% C 0.119 H 320.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4E1959
RGBrgb(78, 25, 89)
HSLhsl(290, 56%, 22%)
HSVhsv(290, 72%, 35%)
CMYKcmyk(12.4%, 71.9%, 0%, 65.1%)
CIE-LABlab(20.19, 34.94, -27.10)
CIE-LCHlch(20.19, 44.22, 322.20°)
OKLaboklab(32.71% 0.0912 -0.0757)
OKLCHoklch(32.71% 0.119 320.3)
XYZxyz(5.2925, 3.0365, 9.7566)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1959 #245919
analogous
#2E1959 #4E1959 #591944
triadic
#4E1959 #594E19 #19594E
tetradic
#4E1959 #592E19 #245919 #194459
square
#4E1959 #592E19 #245919 #194459
split-complementary
#4E1959 #445919 #19592E
monochromatic
#150718 #240C29 #4E1959 #782689 #A234B9

Accessibility & contrast

On white

13.07
#4E1959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1959
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1959#FFFFFF#000000##FFFFFF
##4E19591.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5B
Deuteranopia (green-blind)
#1F3357
Tritanopia (blue-blind)
#4E2436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1959;
/* rgb */ color: rgb(78, 25, 89);
/* oklch */ color: oklch(32.7% 0.119 320.3);
Tailwind
colors: {
  custom: {
    50: '#825b88',
    500: '#4e1959',
    950: '#000000',
  },
}
SCSS
$custom: #4e1959;
$custom-light: #825b88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1959",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 289.688,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32713,
    "c": 0.11856,
    "h": 320.3
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#4E1959
secondary
#4C8F3E
accent
#DF4862
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1959

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

Preview Lab → · Contrast checker → · Palette generator →

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