#4E4075#4E4075

#4E4075 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.1% C 0.087 H 294.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4E4075
RGBrgb(78, 64, 117)
HSLhsl(256, 29%, 35%)
HSVhsv(256, 45%, 46%)
CMYKcmyk(33.3%, 45.3%, 0%, 54.1%)
CIE-LABlab(30.81, 19.04, -28.37)
CIE-LCHlch(30.81, 34.17, 303.86°)
OKLaboklab(41.12% 0.0361 -0.0796)
OKLCHoklch(41.12% 0.087 294.4)
XYZxyz(8.1854, 6.5707, 17.6632)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4075 #677540
analogous
#404C75 #4E4075 #684075
triadic
#4E4075 #754E40 #40754E
tetradic
#4E4075 #75404C #677540 #407568
square
#4E4075 #75404C #677540 #407568
split-complementary
#4E4075 #756840 #4C7540
monochromatic
#191526 #342A4D #4E4075 #68569D #8979B6

Accessibility & contrast

On white

9.07
#4E4075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E4075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4075
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4075#FFFFFF#000000##FFFFFF
##4E40751.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#454A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4075;
/* rgb */ color: rgb(78, 64, 117);
/* oklch */ color: oklch(41.1% 0.087 294.4);
Tailwind
colors: {
  custom: {
    50: '#81759d',
    500: '#4e4075',
    950: '#000000',
  },
}
SCSS
$custom: #4e4075;
$custom-light: #81759d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4075",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 117
  },
  "hsl": {
    "h": 255.849,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.08743,
    "h": 294.4
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#4E4075
secondary
#94A170
accent
#C662AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4075

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

Preview Lab → · Contrast checker → · Palette generator →

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