#4E4284#4E4284

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

Color values

HEX#4E4284
RGBrgb(78, 66, 132)
HSLhsl(251, 33%, 39%)
HSVhsv(251, 50%, 52%)
CMYKcmyk(40.9%, 50%, 0%, 48.2%)
CIE-LABlab(32.22, 22.19, -35.50)
CIE-LCHlch(32.22, 41.86, 302.00°)
OKLaboklab(42.46% 0.0354 -0.1004)
OKLCHoklch(42.46% 0.107 289.4)
XYZxyz(9.2538, 7.1818, 22.7240)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4284 #788442
analogous
#425784 #4E4284 #6F4284
triadic
#4E4284 #844E42 #42844E
tetradic
#4E4284 #844257 #788442 #42846F
square
#4E4284 #844257 #788442 #42846F
split-complementary
#4E4284 #846F42 #578442
monochromatic
#1E1932 #362E5B #4E4284 #6758AB #8C81C0

Accessibility & contrast

On white

8.62
#4E4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4284
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4284#FFFFFF#000000##FFFFFF
##4E42841.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#3F4F5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4284;
/* rgb */ color: rgb(78, 66, 132);
/* oklch */ color: oklch(42.5% 0.107 289.4);
Tailwind
colors: {
  custom: {
    50: '#8376a8',
    500: '#4e4284',
    950: '#000000',
  },
}
SCSS
$custom: #4e4284;
$custom-light: #8376a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4284",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 250.909,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.10651,
    "h": 289.4
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#4E4284
secondary
#A1AB77
accent
#C95EB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4284

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

Preview Lab → · Contrast checker → · Palette generator →

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