#4E427B#4E427B

#4E427B is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.093 H 291.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4E427B
RGBrgb(78, 66, 123)
HSLhsl(253, 30%, 37%)
HSVhsv(253, 46%, 48%)
CMYKcmyk(36.6%, 46.3%, 0%, 51.8%)
CIE-LABlab(31.68, 19.49, -30.75)
CIE-LCHlch(31.68, 36.41, 302.37°)
OKLaboklab(41.89% 0.0342 -0.0866)
OKLCHoklch(41.89% 0.093 291.5)
XYZxyz(8.6643, 6.9460, 19.6193)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E427B #6F7B42
analogous
#42527B #4E427B #6B427B
triadic
#4E427B #7B4E42 #427B4E
tetradic
#4E427B #7B4252 #6F7B42 #427B6B
square
#4E427B #7B4252 #6F7B42 #427B6B
split-complementary
#4E427B #7B6B42 #527B42
monochromatic
#1B172B #352D53 #4E427B #6757A3 #8A7EBA

Accessibility & contrast

On white

8.79
#4E427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E427B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E427B#FFFFFF#000000##FFFFFF
##4E427B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#434D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e427b;
/* rgb */ color: rgb(78, 66, 123);
/* oklch */ color: oklch(41.9% 0.093 291.5);
Tailwind
colors: {
  custom: {
    50: '#8276a1',
    500: '#4e427b',
    950: '#000000',
  },
}
SCSS
$custom: #4e427b;
$custom-light: #8276a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e427b",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 252.632,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41886,
    "c": 0.09306,
    "h": 291.5
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#4E427B
secondary
#9AA574
accent
#C661B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4E427B

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

Preview Lab → · Contrast checker → · Palette generator →

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