#4E327D#4E327D

#4E327D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.0% C 0.122 H 297.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4E327D
RGBrgb(78, 50, 125)
HSLhsl(262, 43%, 34%)
HSVhsv(262, 60%, 49%)
CMYKcmyk(37.6%, 60%, 0%, 51%)
CIE-LABlab(27.80, 30.20, -38.21)
CIE-LCHlch(27.80, 48.70, 308.32°)
OKLaboklab(39.03% 0.0569 -0.1084)
OKLCHoklch(39.03% 0.122 297.7)
XYZxyz(7.9832, 5.3815, 20.0162)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E327D #617D32
analogous
#323C7D #4E327D #74327D
triadic
#4E327D #7D4E32 #327D4E
tetradic
#4E327D #7D323C #617D32 #327D74
square
#4E327D #7D323C #617D32 #327D74
split-complementary
#4E327D #7D7432 #3C7D32
monochromatic
#170F26 #332151 #4E327D #6943A9 #8967C2

Accessibility & contrast

On white

10.11
#4E327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E327D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E327D#FFFFFF#000000##FFFFFF
##4E327D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A427F
Deuteranopia (green-blind)
#17417B
Tritanopia (blue-blind)
#434252
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e327d;
/* rgb */ color: rgb(78, 50, 125);
/* oklch */ color: oklch(39.0% 0.122 297.7);
Tailwind
colors: {
  custom: {
    50: '#836ba3',
    500: '#4e327d',
    950: '#000000',
  },
}
SCSS
$custom: #4e327d;
$custom-light: #836ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e327d",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 262.4,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.12243,
    "h": 297.7
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#4E327D
secondary
#8FAA61
accent
#D355A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E327D

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

Preview Lab → · Contrast checker → · Palette generator →

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