#4E4279#4E4279

#4E4279 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.8% C 0.090 H 292.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4E4279
RGBrgb(78, 66, 121)
HSLhsl(253, 29%, 37%)
HSVhsv(253, 45%, 47%)
CMYKcmyk(35.5%, 45.5%, 0%, 52.5%)
CIE-LABlab(31.57, 18.91, -29.68)
CIE-LCHlch(31.57, 35.19, 302.50°)
OKLaboklab(41.76% 0.0338 -0.0834)
OKLCHoklch(41.76% 0.09 292.1)
XYZxyz(8.5404, 6.8964, 18.9666)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4279 #6D7942
analogous
#425279 #4E4279 #6A4279
triadic
#4E4279 #794E42 #42794E
tetradic
#4E4279 #794252 #6D7942 #42796A
square
#4E4279 #794252 #6D7942 #42796A
split-complementary
#4E4279 #796A42 #527942
monochromatic
#1B172A #342C51 #4E4279 #6858A1 #8A7DB8

Accessibility & contrast

On white

8.83
#4E4279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E4279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4279
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4279#FFFFFF#000000##FFFFFF
##4E42791.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#444C57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4279;
/* rgb */ color: rgb(78, 66, 121);
/* oklch */ color: oklch(41.8% 0.090 292.1);
Tailwind
colors: {
  custom: {
    50: '#8176a0',
    500: '#4e4279',
    950: '#000000',
  },
}
SCSS
$custom: #4e4279;
$custom-light: #8176a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4279",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 253.091,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.09004,
    "h": 292.1
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#4E4279
secondary
#99A374
accent
#C662B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4279

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

Preview Lab → · Contrast checker → · Palette generator →

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