#4E315D#4E315D

#4E315D is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.8% C 0.081 H 313.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#4E315D
RGBrgb(78, 49, 93)
HSLhsl(280, 31%, 28%)
HSVhsv(280, 47%, 36%)
CMYKcmyk(16.1%, 47.3%, 0%, 63.5%)
CIE-LABlab(25.58, 22.20, -21.21)
CIE-LCHlch(25.58, 30.71, 316.31°)
OKLaboklab(36.75% 0.0554 -0.0588)
OKLCHoklch(36.75% 0.081 313.3)
XYZxyz(6.2157, 4.6068, 10.9156)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E315D #405D31
analogous
#38315D #4E315D #5D3156
triadic
#4E315D #5D4E31 #315D4E
tetradic
#4E315D #5D3831 #405D31 #31565D
square
#4E315D #5D3831 #405D31 #31565D
split-complementary
#4E315D #565D31 #315D38
monochromatic
#110B14 #2C1C35 #4E315D #704685 #905EAA

Accessibility & contrast

On white

10.93
#4E315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E315D
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E315D#FFFFFF#000000##FFFFFF
##4E315D1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#303D5C
Tritanopia (blue-blind)
#4D3742
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e315d;
/* rgb */ color: rgb(78, 49, 93);
/* oklch */ color: oklch(36.8% 0.081 313.3);
Tailwind
colors: {
  custom: {
    50: '#806a8b',
    500: '#4e315d',
    950: '#000000',
  },
}
SCSS
$custom: #4e315d;
$custom-light: #806a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e315d",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 279.545,
    "s": 30.986,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.08082,
    "h": 313.3
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#4E315D
secondary
#6D8E5C
accent
#C76184
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E315D

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

Preview Lab → · Contrast checker → · Palette generator →

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