#4E4170#4E4170

#4E4170 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.0% C 0.078 H 295.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4E4170
RGBrgb(78, 65, 112)
HSLhsl(257, 27%, 35%)
HSVhsv(257, 42%, 44%)
CMYKcmyk(30.4%, 42%, 0%, 56.1%)
CIE-LABlab(30.81, 16.97, -25.22)
CIE-LCHlch(30.81, 30.40, 303.93°)
OKLaboklab(41.03% 0.0336 -0.0705)
OKLCHoklch(41.03% 0.078 295.5)
XYZxyz(7.9561, 6.5700, 16.1751)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4170 #637041
analogous
#414B70 #4E4170 #664170
triadic
#4E4170 #704E41 #41704E
tetradic
#4E4170 #70414B #637041 #417066
square
#4E4170 #70414B #637041 #417066
split-complementary
#4E4170 #706641 #4B7041
monochromatic
#181423 #332B49 #4E4170 #695797 #897AB2

Accessibility & contrast

On white

9.08
#4E4170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4170
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4170#FFFFFF#000000##FFFFFF
##4E41701.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#474953
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4170;
/* rgb */ color: rgb(78, 65, 112);
/* oklch */ color: oklch(41.0% 0.078 295.5);
Tailwind
colors: {
  custom: {
    50: '#817599',
    500: '#4e4170',
    950: '#000000',
  },
}
SCSS
$custom: #4e4170;
$custom-light: #817599;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4170",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 256.596,
    "s": 26.554,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.07807,
    "h": 295.5
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#4E4170
secondary
#909D70
accent
#C365A9
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4170

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

Preview Lab → · Contrast checker → · Palette generator →

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