#4E327F#4E327F

#4E327F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.125 H 297.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4E327F
RGBrgb(78, 50, 127)
HSLhsl(262, 44%, 35%)
HSVhsv(262, 61%, 50%)
CMYKcmyk(38.6%, 60.6%, 0%, 50.2%)
CIE-LABlab(27.93, 30.77, -39.24)
CIE-LCHlch(27.93, 49.87, 308.10°)
OKLaboklab(39.18% 0.0568 -0.1115)
OKLCHoklch(39.18% 0.125 297)
XYZxyz(8.1123, 5.4331, 20.6958)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E327F #637F32
analogous
#323D7F #4E327F #75327F
triadic
#4E327F #7F4E32 #327F4E
tetradic
#4E327F #7F323D #637F32 #327F75
square
#4E327F #7F323D #637F32 #327F75
split-complementary
#4E327F #7F7532 #3D7F32
monochromatic
#180F27 #332153 #4E327F #6943AB #8968C4

Accessibility & contrast

On white

10.06
#4E327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E327F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E327F#FFFFFF#000000##FFFFFF
##4E327F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#424253
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e327f;
/* rgb */ color: rgb(78, 50, 127);
/* oklch */ color: oklch(39.2% 0.125 297.0);
Tailwind
colors: {
  custom: {
    50: '#836ba5',
    500: '#4e327f',
    950: '#000000',
  },
}
SCSS
$custom: #4e327f;
$custom-light: #836ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e327f",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 261.818,
    "s": 43.503,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.12511,
    "h": 297
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#4E327F
secondary
#90AB62
accent
#D355A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E327F

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

Preview Lab → · Contrast checker → · Palette generator →

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