#4E1749#4E1749

#4E1749 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.106 H 331.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1749
RGBrgb(78, 23, 73)
HSLhsl(305, 54%, 20%)
HSVhsv(305, 71%, 31%)
CMYKcmyk(0%, 70.5%, 6.4%, 69.4%)
CIE-LABlab(18.86, 32.62, -18.39)
CIE-LCHlch(18.86, 37.45, 330.60°)
OKLaboklab(31.43% 0.0932 -0.0504)
OKLCHoklch(31.43% 0.106 331.6)
XYZxyz(4.6509, 2.7139, 6.5809)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1749 #174E1C
analogous
#38174E #4E1749 #4E172D
triadic
#4E1749 #494E17 #17494E
tetradic
#4E1749 #4E3817 #174E1C #172D4E
square
#4E1749 #4E3817 #174E1C #172D4E
split-complementary
#4E1749 #2D4E17 #174E38
monochromatic
#180716 #1F091D #4E1749 #7D2575 #AD33A1

Accessibility & contrast

On white

13.61
#4E1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1749
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1749#FFFFFF#000000##FFFFFF
##4E17491.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14294A
Deuteranopia (green-blind)
#273148
Tritanopia (blue-blind)
#511C2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1749;
/* rgb */ color: rgb(78, 23, 73);
/* oklch */ color: oklch(31.4% 0.106 331.6);
Tailwind
colors: {
  custom: {
    50: '#82597c',
    500: '#4e1749',
    950: '#000000',
  },
}
SCSS
$custom: #4e1749;
$custom-light: #82597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1749",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 305.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.10596,
    "h": 331.6
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#4E1749
secondary
#3C8542
accent
#DE574A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1749

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

Preview Lab → · Contrast checker → · Palette generator →

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