#4E327A#4E327A

#4E327A is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.8% C 0.118 H 298.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4E327A
RGBrgb(78, 50, 122)
HSLhsl(263, 42%, 34%)
HSVhsv(263, 59%, 48%)
CMYKcmyk(36.1%, 59%, 0%, 52.2%)
CIE-LABlab(27.59, 29.34, -36.65)
CIE-LCHlch(27.59, 46.95, 308.68°)
OKLaboklab(38.81% 0.0568 -0.1038)
OKLCHoklch(38.81% 0.118 298.7)
XYZxyz(7.7945, 5.3060, 19.0221)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E327A #5E7A32
analogous
#323A7A #4E327A #72327A
triadic
#4E327A #7A4E32 #327A4E
tetradic
#4E327A #7A323A #5E7A32 #327A72
square
#4E327A #7A323A #5E7A32 #327A72
split-complementary
#4E327A #7A7232 #3A7A32
monochromatic
#160E23 #32204F #4E327A #6A44A5 #8966C0

Accessibility & contrast

On white

10.19
#4E327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E327A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E327A#FFFFFF#000000##FFFFFF
##4E327A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#444151
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e327a;
/* rgb */ color: rgb(78, 50, 122);
/* oklch */ color: oklch(38.8% 0.118 298.7);
Tailwind
colors: {
  custom: {
    50: '#836ba1',
    500: '#4e327a',
    950: '#000000',
  },
}
SCSS
$custom: #4e327a;
$custom-light: #836ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e327a",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 263.333,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.11839,
    "h": 298.7
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#4E327A
secondary
#8CA860
accent
#D256A2
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060F
muted
#7C7A7E

Preview Lab

Preview with #4E327A

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

Preview Lab → · Contrast checker → · Palette generator →

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