#4E316D#4E316D

#4E316D is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.7% C 0.102 H 304.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4E316D
RGBrgb(78, 49, 109)
HSLhsl(269, 38%, 31%)
HSVhsv(269, 55%, 43%)
CMYKcmyk(28.4%, 55%, 0%, 57.3%)
CIE-LABlab(26.51, 26.36, -30.11)
CIE-LCHlch(26.51, 40.02, 311.20°)
OKLaboklab(37.74% 0.0577 -0.0847)
OKLCHoklch(37.74% 0.102 304.3)
XYZxyz(6.9999, 4.9205, 15.0460)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E316D #506D31
analogous
#31326D #4E316D #6C316D
triadic
#4E316D #6D4E31 #316D4E
tetradic
#4E316D #6D3132 #506D31 #316D6C
square
#4E316D #6D3132 #506D31 #316D6C
split-complementary
#4E316D #6D6C31 #326D31
monochromatic
#120B19 #301E43 #4E316D #6C4497 #8B61B8

Accessibility & contrast

On white

10.58
#4E316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E316D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E316D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E316D#FFFFFF#000000##FFFFFF
##4E316D1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#263F6C
Tritanopia (blue-blind)
#493C4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e316d;
/* rgb */ color: rgb(78, 49, 109);
/* oklch */ color: oklch(37.7% 0.102 304.3);
Tailwind
colors: {
  custom: {
    50: '#816a97',
    500: '#4e316d',
    950: '#000000',
  },
}
SCSS
$custom: #4e316d;
$custom-light: #816a97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e316d",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 269,
    "s": 37.975,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37743,
    "c": 0.10245,
    "h": 304.3
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#4E316D
secondary
#7E9E5C
accent
#CE5A96
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E316D

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

Preview Lab → · Contrast checker → · Palette generator →

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