#4E4274#4E4274

#4E4274 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.5% C 0.082 H 293.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4E4274
RGBrgb(78, 66, 116)
HSLhsl(254, 27%, 36%)
HSVhsv(254, 43%, 45%)
CMYKcmyk(32.8%, 43.1%, 0%, 54.5%)
CIE-LABlab(31.29, 17.46, -26.98)
CIE-LCHlch(31.29, 32.13, 302.90°)
OKLaboklab(41.46% 0.0329 -0.0756)
OKLCHoklch(41.46% 0.082 293.5)
XYZxyz(8.2417, 6.7769, 17.3935)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4274 #687442
analogous
#424F74 #4E4274 #674274
triadic
#4E4274 #744E42 #42744E
tetradic
#4E4274 #74424F #687442 #427467
square
#4E4274 #74424F #687442 #427467
split-complementary
#4E4274 #746742 #4F7442
monochromatic
#1A1626 #342C4D #4E4274 #68589B #8A7CB4

Accessibility & contrast

On white

8.92
#4E4274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4274
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4274#FFFFFF#000000##FFFFFF
##4E42741.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#454B55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4274;
/* rgb */ color: rgb(78, 66, 116);
/* oklch */ color: oklch(41.5% 0.082 293.5);
Tailwind
colors: {
  custom: {
    50: '#81769c',
    500: '#4e4274',
    950: '#000000',
  },
}
SCSS
$custom: #4e4274;
$custom-light: #81769c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4274",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 254.4,
    "s": 27.473,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.08242,
    "h": 293.5
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#4E4274
secondary
#95A072
accent
#C464AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4274

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

Preview Lab → · Contrast checker → · Palette generator →

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