#4E427D#4E427D

#4E427D is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.096 H 291.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4E427D
RGBrgb(78, 66, 125)
HSLhsl(252, 31%, 37%)
HSVhsv(252, 47%, 49%)
CMYKcmyk(37.6%, 47.2%, 0%, 51%)
CIE-LABlab(31.80, 20.09, -31.82)
CIE-LCHlch(31.80, 37.63, 302.27°)
OKLaboklab(42.01% 0.0345 -0.0897)
OKLCHoklch(42.01% 0.096 291)
XYZxyz(8.7908, 6.9966, 20.2854)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E427D #717D42
analogous
#42547D #4E427D #6B427D
triadic
#4E427D #7D4E42 #427D4E
tetradic
#4E427D #7D4254 #717D42 #427D6B
square
#4E427D #7D4254 #717D42 #427D6B
split-complementary
#4E427D #7D6B42 #547D42
monochromatic
#1C182D #352D55 #4E427D #6757A5 #8B7EBB

Accessibility & contrast

On white

8.75
#4E427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E427D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E427D#FFFFFF#000000##FFFFFF
##4E427D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#424D59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e427d;
/* rgb */ color: rgb(78, 66, 125);
/* oklch */ color: oklch(42.0% 0.096 291.0);
Tailwind
colors: {
  custom: {
    50: '#8276a3',
    500: '#4e427d',
    950: '#000000',
  },
}
SCSS
$custom: #4e427d;
$custom-light: #8276a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e427d",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 252.203,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.09607,
    "h": 291
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#4E427D
secondary
#9CA675
accent
#C761B2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E427D

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

Preview Lab → · Contrast checker → · Palette generator →

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