#4E4175#4E4175

#4E4175 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.3% C 0.086 H 293.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4E4175
RGBrgb(78, 65, 117)
HSLhsl(255, 29%, 36%)
HSVhsv(255, 44%, 46%)
CMYKcmyk(33.3%, 44.4%, 0%, 54.1%)
CIE-LABlab(31.08, 18.39, -27.95)
CIE-LCHlch(31.08, 33.46, 303.35°)
OKLaboklab(41.32% 0.0346 -0.0784)
OKLCHoklch(41.32% 0.086 293.8)
XYZxyz(8.2423, 6.6845, 17.6822)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4175 #687541
analogous
#414E75 #4E4175 #684175
triadic
#4E4175 #754E41 #41754E
tetradic
#4E4175 #75414E #687541 #417568
square
#4E4175 #75414E #687541 #417568
split-complementary
#4E4175 #756841 #4E7541
monochromatic
#1A1526 #342B4E #4E4175 #68579C #8A7BB6

Accessibility & contrast

On white

8.99
#4E4175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E4175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4175
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4175#FFFFFF#000000##FFFFFF
##4E41751.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#334874
Tritanopia (blue-blind)
#454B55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4175;
/* rgb */ color: rgb(78, 65, 117);
/* oklch */ color: oklch(41.3% 0.086 293.8);
Tailwind
colors: {
  custom: {
    50: '#81759d',
    500: '#4e4175',
    950: '#000000',
  },
}
SCSS
$custom: #4e4175;
$custom-light: #81759d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4175",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 255,
    "s": 28.571,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.08569,
    "h": 293.8
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#4E4175
secondary
#95A171
accent
#C563AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4175

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

Preview Lab → · Contrast checker → · Palette generator →

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