#4E4185#4E4185

#4E4185 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.3% C 0.110 H 289.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4185
RGBrgb(78, 65, 133)
HSLhsl(251, 34%, 39%)
HSVhsv(251, 51%, 52%)
CMYKcmyk(41.4%, 51.1%, 0%, 47.8%)
CIE-LABlab(32.02, 23.13, -36.44)
CIE-LCHlch(32.02, 43.16, 302.41°)
OKLaboklab(42.33% 0.0369 -0.1032)
OKLCHoklch(42.33% 0.11 289.7)
XYZxyz(9.2647, 7.0935, 23.0668)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4185 #788541
analogous
#415685 #4E4185 #704185
triadic
#4E4185 #854E41 #41854E
tetradic
#4E4185 #854156 #788541 #418570
square
#4E4185 #854156 #788541 #418570
split-complementary
#4E4185 #857041 #568541
monochromatic
#1E1933 #362D5C #4E4185 #6757AD #8C80C1

Accessibility & contrast

On white

8.68
#4E4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4185
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4185#FFFFFF#000000##FFFFFF
##4E41851.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D87
Deuteranopia (green-blind)
#274A83
Tritanopia (blue-blind)
#3F4F5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4185;
/* rgb */ color: rgb(78, 65, 133);
/* oklch */ color: oklch(42.3% 0.110 289.7);
Tailwind
colors: {
  custom: {
    50: '#8376a9',
    500: '#4e4185',
    950: '#000000',
  },
}
SCSS
$custom: #4e4185;
$custom-light: #8376a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4185",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 251.471,
    "s": 34.343,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.1096,
    "h": 289.7
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#4E4185
secondary
#A1AB76
accent
#CA5DB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4185

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

Preview Lab → · Contrast checker → · Palette generator →

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