#4E3155#4E3155

#4E3155 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.3% C 0.070 H 319.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4E3155
RGBrgb(78, 49, 85)
HSLhsl(288, 27%, 26%)
HSVhsv(288, 42%, 33%)
CMYKcmyk(8.2%, 42.4%, 0%, 66.7%)
CIE-LABlab(25.18, 20.27, -16.60)
CIE-LCHlch(25.18, 26.20, 320.68°)
OKLaboklab(36.31% 0.0536 -0.0456)
OKLCHoklch(36.31% 0.07 319.7)
XYZxyz(5.8797, 4.4724, 9.1461)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3155 #385531
analogous
#3C3155 #4E3155 #55314A
triadic
#4E3155 #554E31 #31554E
tetradic
#4E3155 #553C31 #385531 #314A55
square
#4E3155 #553C31 #385531 #314A55
split-complementary
#4E3155 #4A5531 #31553C
monochromatic
#120B13 #2A1B2E #4E3155 #72477C #955EA2

Accessibility & contrast

On white

11.09
#4E3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3155
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3155#FFFFFF#000000##FFFFFF
##4E31551.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A56
Deuteranopia (green-blind)
#333D54
Tritanopia (blue-blind)
#4E353F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e3155;
/* rgb */ color: rgb(78, 49, 85);
/* oklch */ color: oklch(36.3% 0.070 319.7);
Tailwind
colors: {
  custom: {
    50: '#806a85',
    500: '#4e3155',
    950: '#000000',
  },
}
SCSS
$custom: #4e3155;
$custom-light: #806a85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3155",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 288.333,
    "s": 26.866,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.07038,
    "h": 319.7
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#4E3155
secondary
#64865C
accent
#C36577
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E3155

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

Preview Lab → · Contrast checker → · Palette generator →

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