#4E326D#4E326D

#4E326D is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.9% C 0.101 H 303.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4E326D
RGBrgb(78, 50, 109)
HSLhsl(268, 37%, 31%)
HSVhsv(268, 54%, 43%)
CMYKcmyk(28.4%, 54.1%, 0%, 57.3%)
CIE-LABlab(26.75, 25.74, -29.73)
CIE-LCHlch(26.75, 39.32, 310.89°)
OKLaboklab(37.92% 0.0562 -0.0836)
OKLCHoklch(37.92% 0.101 303.9)
XYZxyz(7.0422, 5.0051, 15.0601)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E326D #516D32
analogous
#32336D #4E326D #6B326D
triadic
#4E326D #6D4E32 #326D4E
tetradic
#4E326D #6D3233 #516D32 #326D6B
square
#4E326D #6D3233 #516D32 #326D6B
split-complementary
#4E326D #6D6B32 #336D32
monochromatic
#120C19 #301F43 #4E326D #6C4597 #8B62B7

Accessibility & contrast

On white

10.49
#4E326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E326D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E326D#FFFFFF#000000##FFFFFF
##4E326D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F6F
Deuteranopia (green-blind)
#273F6C
Tritanopia (blue-blind)
#493D4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e326d;
/* rgb */ color: rgb(78, 50, 109);
/* oklch */ color: oklch(37.9% 0.101 303.9);
Tailwind
colors: {
  custom: {
    50: '#816b97',
    500: '#4e326d',
    950: '#000000',
  },
}
SCSS
$custom: #4e326d;
$custom-light: #816b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e326d",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 268.475,
    "s": 37.107,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.10068,
    "h": 303.9
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#4E326D
secondary
#7F9E5D
accent
#CD5B97
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E326D

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

Preview Lab → · Contrast checker → · Palette generator →

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