#4E4281#4E4281

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

Color values

HEX#4E4281
RGBrgb(78, 66, 129)
HSLhsl(251, 32%, 38%)
HSVhsv(251, 49%, 51%)
CMYKcmyk(39.5%, 48.8%, 0%, 49.4%)
CIE-LABlab(32.04, 21.28, -33.93)
CIE-LCHlch(32.04, 40.05, 302.10°)
OKLaboklab(42.27% 0.0351 -0.0958)
OKLCHoklch(42.27% 0.102 290.1)
XYZxyz(9.0515, 7.1009, 21.6583)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4281 #758142
analogous
#425581 #4E4281 #6D4281
triadic
#4E4281 #814E42 #42814E
tetradic
#4E4281 #814255 #758142 #42816D
square
#4E4281 #814255 #758142 #42816D
split-complementary
#4E4281 #816D42 #558142
monochromatic
#1D1930 #362D59 #4E4281 #6757A9 #8B80BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4281#FFFFFF#000000##FFFFFF
##4E42811.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)
#2B4D83
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#414E5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4281;
/* rgb */ color: rgb(78, 66, 129);
/* oklch */ color: oklch(42.3% 0.102 290.1);
Tailwind
colors: {
  custom: {
    50: '#8276a6',
    500: '#4e4281',
    950: '#000000',
  },
}
SCSS
$custom: #4e4281;
$custom-light: #8276a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4281",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 251.429,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.10206,
    "h": 290.1
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#4E4281
secondary
#9FA976
accent
#C85FB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4281

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

Preview Lab → · Contrast checker → · Palette generator →

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