#4E326A#4E326A

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

Color values

HEX#4E326A
RGBrgb(78, 50, 106)
HSLhsl(270, 36%, 31%)
HSVhsv(270, 53%, 42%)
CMYKcmyk(26.4%, 52.8%, 0%, 58.4%)
CIE-LABlab(26.57, 24.93, -28.09)
CIE-LCHlch(26.57, 37.56, 311.59°)
OKLaboklab(37.73% 0.0559 -0.0788)
OKLCHoklch(37.73% 0.097 305.3)
XYZxyz(6.8835, 4.9416, 14.2241)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E326A #4E6A32
analogous
#32326A #4E326A #6A326A
triadic
#4E326A #6A4E32 #326A4E
tetradic
#4E326A #6A3232 #4E6A32 #326A6A
square
#4E326A #6A3232 #4E6A32 #326A6A
split-complementary
#4E326A #6A6A32 #326A32
monochromatic
#110B17 #2F1E40 #4E326A #6D4694 #8B62B5

Accessibility & contrast

On white

10.56
#4E326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E326A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E326A#FFFFFF#000000##FFFFFF
##4E326A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#293F69
Tritanopia (blue-blind)
#493C49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e326a;
/* rgb */ color: rgb(78, 50, 106);
/* oklch */ color: oklch(37.7% 0.097 305.3);
Tailwind
colors: {
  custom: {
    50: '#816b95',
    500: '#4e326a',
    950: '#000000',
  },
}
SCSS
$custom: #4e326a;
$custom-light: #816b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e326a",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 35.897,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.09656,
    "h": 305.3
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#4E326A
secondary
#7C9B5D
accent
#CC5C94
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E326A

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

Preview Lab → · Contrast checker → · Palette generator →

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