#4E428A#4E428A

#4E428A is a dark, moderate violet. Relative luminance 0.074; OKLCH L 42.9% C 0.115 H 288.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4E428A
RGBrgb(78, 66, 138)
HSLhsl(250, 35%, 40%)
HSVhsv(250, 52%, 54%)
CMYKcmyk(43.5%, 52.2%, 0%, 45.9%)
CIE-LABlab(32.59, 24.02, -38.60)
CIE-LCHlch(32.59, 45.47, 301.89°)
OKLaboklab(42.86% 0.036 -0.1096)
OKLCHoklch(42.86% 0.115 288.2)
XYZxyz(9.6763, 7.3508, 24.9488)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E428A #7E8A42
analogous
#425A8A #4E428A #72428A
triadic
#4E428A #8A4E42 #428A4E
tetradic
#4E428A #8A425A #7E8A42 #428A72
square
#4E428A #8A425A #7E8A42 #428A72
split-complementary
#4E428A #8A7242 #5A8A42
monochromatic
#1F1A37 #372E61 #4E428A #6859B0 #8E83C4

Accessibility & contrast

On white

8.50
#4E428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E428A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E428A#FFFFFF#000000##FFFFFF
##4E428A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#3D515F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e428a;
/* rgb */ color: rgb(78, 66, 138);
/* oklch */ color: oklch(42.9% 0.115 288.2);
Tailwind
colors: {
  custom: {
    50: '#8376ac',
    500: '#4e428a',
    950: '#000000',
  },
}
SCSS
$custom: #4e428a;
$custom-light: #8376ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e428a",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 250,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.11533,
    "h": 288.2
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#4E428A
secondary
#A6AE79
accent
#CB5CB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E428A

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

Preview Lab → · Contrast checker → · Palette generator →

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