#4E427A#4E427A

#4E427A is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.8% C 0.092 H 291.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E427A
RGBrgb(78, 66, 122)
HSLhsl(253, 30%, 37%)
HSVhsv(253, 46%, 48%)
CMYKcmyk(36.1%, 45.9%, 0%, 52.2%)
CIE-LABlab(31.63, 19.20, -30.22)
CIE-LCHlch(31.63, 35.80, 302.43°)
OKLaboklab(41.82% 0.034 -0.085)
OKLCHoklch(41.82% 0.092 291.8)
XYZxyz(8.6020, 6.9211, 19.2913)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E427A #6E7A42
analogous
#42527A #4E427A #6A427A
triadic
#4E427A #7A4E42 #427A4E
tetradic
#4E427A #7A4252 #6E7A42 #427A6A
square
#4E427A #7A4252 #6E7A42 #427A6A
split-complementary
#4E427A #7A6A42 #527A42
monochromatic
#1B172B #352D52 #4E427A #6757A2 #8A7DB9

Accessibility & contrast

On white

8.81
#4E427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E427A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E427A#FFFFFF#000000##FFFFFF
##4E427A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#314979
Tritanopia (blue-blind)
#434D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e427a;
/* rgb */ color: rgb(78, 66, 122);
/* oklch */ color: oklch(41.8% 0.092 291.8);
Tailwind
colors: {
  custom: {
    50: '#8276a1',
    500: '#4e427a',
    950: '#000000',
  },
}
SCSS
$custom: #4e427a;
$custom-light: #8276a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e427a",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 252.857,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.09155,
    "h": 291.8
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#4E427A
secondary
#9AA474
accent
#C662B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4E427A

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

Preview Lab → · Contrast checker → · Palette generator →

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