#4E1746#4E1746

#4E1746 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.103 H 334.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4E1746
RGBrgb(78, 23, 70)
HSLhsl(309, 54%, 20%)
HSVhsv(309, 71%, 31%)
CMYKcmyk(0%, 70.5%, 10.3%, 69.4%)
CIE-LABlab(18.69, 32.06, -16.59)
CIE-LCHlch(18.69, 36.10, 332.65°)
OKLaboklab(31.26% 0.0928 -0.0453)
OKLCHoklch(31.26% 0.103 334)
XYZxyz(4.5538, 2.6751, 6.0697)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1746 #174E1F
analogous
#3A174E #4E1746 #4E172B
triadic
#4E1746 #464E17 #17464E
tetradic
#4E1746 #4E3A17 #174E1F #172B4E
square
#4E1746 #4E3A17 #174E1F #172B4E
split-complementary
#4E1746 #2B4E17 #174E3A
monochromatic
#180715 #1F091C #4E1746 #7D2570 #AD339B

Accessibility & contrast

On white

13.68
#4E1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1746
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1746#FFFFFF#000000##FFFFFF
##4E17461.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162847
Deuteranopia (green-blind)
#283045
Tritanopia (blue-blind)
#521B2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1746;
/* rgb */ color: rgb(78, 23, 70);
/* oklch */ color: oklch(31.3% 0.103 334.0);
Tailwind
colors: {
  custom: {
    50: '#825979',
    500: '#4e1746',
    950: '#000000',
  },
}
SCSS
$custom: #4e1746;
$custom-light: #825979;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1746",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 308.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.10326,
    "h": 334
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#4E1746
secondary
#3C8546
accent
#DE5F4A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1746

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

Preview Lab → · Contrast checker → · Palette generator →

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