#4E315C#4E315C

#4E315C is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.7% C 0.080 H 314.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4E315C
RGBrgb(78, 49, 92)
HSLhsl(280, 30%, 28%)
HSVhsv(280, 47%, 36%)
CMYKcmyk(15.2%, 46.7%, 0%, 63.9%)
CIE-LABlab(25.53, 21.96, -20.64)
CIE-LCHlch(25.53, 30.14, 316.77°)
OKLaboklab(36.7% 0.0552 -0.0572)
OKLCHoklch(36.7% 0.08 314)
XYZxyz(6.1717, 4.5892, 10.6838)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E315C #3F5C31
analogous
#39315C #4E315C #5C3154
triadic
#4E315C #5C4E31 #315C4E
tetradic
#4E315C #5C3931 #3F5C31 #31545C
square
#4E315C #5C3931 #3F5C31 #31545C
split-complementary
#4E315C #545C31 #315C39
monochromatic
#110B14 #2C1C34 #4E315C #704684 #915EA9

Accessibility & contrast

On white

10.95
#4E315C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E315C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E315C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E315C#FFFFFF#000000##FFFFFF
##4E315C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5E
Deuteranopia (green-blind)
#303D5B
Tritanopia (blue-blind)
#4D3742
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e315c;
/* rgb */ color: rgb(78, 49, 92);
/* oklch */ color: oklch(36.7% 0.080 314.0);
Tailwind
colors: {
  custom: {
    50: '#806a8a',
    500: '#4e315c',
    950: '#000000',
  },
}
SCSS
$custom: #4e315c;
$custom-light: #806a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e315c",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 280.465,
    "s": 30.496,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36697,
    "c": 0.0795,
    "h": 314
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#4E315C
secondary
#6C8D5C
accent
#C76182
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E315C

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

Preview Lab → · Contrast checker → · Palette generator →

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