#4E427F#4E427F

#4E427F is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.099 H 290.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E427F
RGBrgb(78, 66, 127)
HSLhsl(252, 32%, 38%)
HSVhsv(252, 48%, 50%)
CMYKcmyk(38.6%, 48%, 0%, 50.2%)
CIE-LABlab(31.92, 20.68, -32.87)
CIE-LCHlch(31.92, 38.84, 302.17°)
OKLaboklab(42.14% 0.0348 -0.0928)
OKLCHoklch(42.14% 0.099 290.6)
XYZxyz(8.9198, 7.0482, 20.9650)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E427F #737F42
analogous
#42557F #4E427F #6C427F
triadic
#4E427F #7F4E42 #427F4E
tetradic
#4E427F #7F4255 #737F42 #427F6C
square
#4E427F #7F4255 #737F42 #427F6C
split-complementary
#4E427F #7F6C42 #557F42
monochromatic
#1D182E #352D57 #4E427F #6757A7 #8B7FBC

Accessibility & contrast

On white

8.72
#4E427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E427F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E427F#FFFFFF#000000##FFFFFF
##4E427F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#414E5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e427f;
/* rgb */ color: rgb(78, 66, 127);
/* oklch */ color: oklch(42.1% 0.099 290.6);
Tailwind
colors: {
  custom: {
    50: '#8276a4',
    500: '#4e427f',
    950: '#000000',
  },
}
SCSS
$custom: #4e427f;
$custom-light: #8276a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e427f",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 251.803,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.09908,
    "h": 290.6
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#4E427F
secondary
#9EA775
accent
#C860B3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E427F

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

Preview Lab → · Contrast checker → · Palette generator →

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