#4E315A#4E315A

#4E315A is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.6% C 0.077 H 315.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4E315A
RGBrgb(78, 49, 90)
HSLhsl(282, 29%, 27%)
HSVhsv(282, 46%, 35%)
CMYKcmyk(13.3%, 45.6%, 0%, 64.7%)
CIE-LABlab(25.43, 21.46, -19.50)
CIE-LCHlch(25.43, 29.00, 317.75°)
OKLaboklab(36.59% 0.0548 -0.0539)
OKLCHoklch(36.59% 0.077 315.5)
XYZxyz(6.0854, 4.5547, 10.2294)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E315A #3D5A31
analogous
#3A315A #4E315A #5A3152
triadic
#4E315A #5A4E31 #315A4E
tetradic
#4E315A #5A3A31 #3D5A31 #31525A
square
#4E315A #5A3A31 #3D5A31 #31525A
split-complementary
#4E315A #525A31 #315A3A
monochromatic
#110B14 #2C1B32 #4E315A #704782 #925EA7

Accessibility & contrast

On white

10.99
#4E315A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E315A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E315A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E315A#FFFFFF#000000##FFFFFF
##4E315A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#313D59
Tritanopia (blue-blind)
#4D3741
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e315a;
/* rgb */ color: rgb(78, 49, 90);
/* oklch */ color: oklch(36.6% 0.077 315.5);
Tailwind
colors: {
  custom: {
    50: '#806a89',
    500: '#4e315a',
    950: '#000000',
  },
}
SCSS
$custom: #4e315a;
$custom-light: #806a89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e315a",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 282.439,
    "s": 29.496,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.07685,
    "h": 315.5
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#4E315A
secondary
#6A8B5C
accent
#C6627F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E315A

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

Preview Lab → · Contrast checker → · Palette generator →

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