#4E4174#4E4174

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

Color values

HEX#4E4174
RGBrgb(78, 65, 116)
HSLhsl(255, 28%, 35%)
HSVhsv(255, 44%, 45%)
CMYKcmyk(32.8%, 44%, 0%, 54.5%)
CIE-LABlab(31.02, 18.10, -27.41)
CIE-LCHlch(31.02, 32.85, 303.45°)
OKLaboklab(41.26% 0.0344 -0.0768)
OKLCHoklch(41.26% 0.084 294.1)
XYZxyz(8.1838, 6.6611, 17.3742)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4174 #677441
analogous
#414D74 #4E4174 #674174
triadic
#4E4174 #744E41 #41744E
tetradic
#4E4174 #74414D #677441 #417467
square
#4E4174 #74414D #677441 #417467
split-complementary
#4E4174 #746741 #4D7441
monochromatic
#191526 #342B4D #4E4174 #68579B #897BB5

Accessibility & contrast

On white

9.00
#4E4174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E4174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4174
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4174#FFFFFF#000000##FFFFFF
##4E41741.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#334873
Tritanopia (blue-blind)
#454A55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4174;
/* rgb */ color: rgb(78, 65, 116);
/* oklch */ color: oklch(41.3% 0.084 294.1);
Tailwind
colors: {
  custom: {
    50: '#81759c',
    500: '#4e4174',
    950: '#000000',
  },
}
SCSS
$custom: #4e4174;
$custom-light: #81759c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4174",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 255.294,
    "s": 28.177,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.08417,
    "h": 294.1
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#4E4174
secondary
#94A071
accent
#C463AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4174

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

Preview Lab → · Contrast checker → · Palette generator →

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