#4E1754#4E1754

#4E1754 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.116 H 323.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4E1754
RGBrgb(78, 23, 84)
HSLhsl(294, 57%, 21%)
HSVhsv(294, 73%, 33%)
CMYKcmyk(7.1%, 72.6%, 0%, 67.1%)
CIE-LABlab(19.53, 34.81, -24.80)
CIE-LCHlch(19.53, 42.75, 324.53°)
OKLaboklab(32.13% 0.0938 -0.069)
OKLCHoklch(32.13% 0.116 323.7)
XYZxyz(5.0484, 2.8729, 8.6744)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1754 #1D5417
analogous
#2F1754 #4E1754 #54173B
triadic
#4E1754 #544E17 #17544E
tetradic
#4E1754 #542F17 #1D5417 #173B54
square
#4E1754 #542F17 #1D5417 #173B54
split-complementary
#4E1754 #3B5417 #17542F
monochromatic
#160718 #210A24 #4E1754 #7B2484 #A731B4

Accessibility & contrast

On white

13.34
#4E1754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1754
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1754#FFFFFF#000000##FFFFFF
##4E17541.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B56
Deuteranopia (green-blind)
#213252
Tritanopia (blue-blind)
#4F2133
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1754;
/* rgb */ color: rgb(78, 23, 84);
/* oklch */ color: oklch(32.1% 0.116 323.7);
Tailwind
colors: {
  custom: {
    50: '#825984',
    500: '#4e1754',
    950: '#000000',
  },
}
SCSS
$custom: #4e1754;
$custom-light: #825984;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1754",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 294.098,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3213,
    "c": 0.11647,
    "h": 323.7
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#4E1754
secondary
#448B3C
accent
#E04857
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1754

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

Preview Lab → · Contrast checker → · Palette generator →

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