#4E4285#4E4285

#4E4285 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.5% C 0.108 H 289.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4285
RGBrgb(78, 66, 133)
HSLhsl(251, 34%, 39%)
HSVhsv(251, 50%, 52%)
CMYKcmyk(41.4%, 50.4%, 0%, 47.8%)
CIE-LABlab(32.28, 22.49, -36.02)
CIE-LCHlch(32.28, 42.46, 301.98°)
OKLaboklab(42.53% 0.0355 -0.102)
OKLCHoklch(42.53% 0.108 289.2)
XYZxyz(9.3226, 7.2093, 23.0861)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4285 #798542
analogous
#425885 #4E4285 #704285
triadic
#4E4285 #854E42 #42854E
tetradic
#4E4285 #854258 #798542 #428570
square
#4E4285 #854258 #798542 #428570
split-complementary
#4E4285 #857042 #588542
monochromatic
#1E1933 #362E5C #4E4285 #6758AC #8C81C0

Accessibility & contrast

On white

8.60
#4E4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4285
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4285#FFFFFF#000000##FFFFFF
##4E42851.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#3F505D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4285;
/* rgb */ color: rgb(78, 66, 133);
/* oklch */ color: oklch(42.5% 0.108 289.2);
Tailwind
colors: {
  custom: {
    50: '#8376a9',
    500: '#4e4285',
    950: '#000000',
  },
}
SCSS
$custom: #4e4285;
$custom-light: #8376a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4285",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 250.746,
    "s": 33.668,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.10799,
    "h": 289.2
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#4E4285
secondary
#A2AB78
accent
#CA5EB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4285

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

Preview Lab → · Contrast checker → · Palette generator →

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