#4E4168#4E4168

#4E4168 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.6% C 0.066 H 298.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4168
RGBrgb(78, 65, 104)
HSLhsl(260, 23%, 33%)
HSVhsv(260, 38%, 41%)
CMYKcmyk(25%, 37.5%, 0%, 59.2%)
CIE-LABlab(30.40, 14.75, -20.78)
CIE-LCHlch(30.40, 25.49, 305.36°)
OKLaboklab(40.58% 0.0317 -0.0577)
OKLCHoklch(40.58% 0.066 298.8)
XYZxyz(7.5303, 6.3997, 13.9326)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4168 #5B6841
analogous
#414768 #4E4168 #614168
triadic
#4E4168 #684E41 #41684E
tetradic
#4E4168 #684147 #5B6841 #416861
square
#4E4168 #684147 #5B6841 #416861
split-complementary
#4E4168 #686141 #476841
monochromatic
#16121D #322942 #4E4168 #6A598E #8978AB

Accessibility & contrast

On white

9.21
#4E4168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E4168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4168
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4168#FFFFFF#000000##FFFFFF
##4E41681.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38486A
Deuteranopia (green-blind)
#3A4767
Tritanopia (blue-blind)
#49474F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4168;
/* rgb */ color: rgb(78, 65, 104);
/* oklch */ color: oklch(40.6% 0.066 298.8);
Tailwind
colors: {
  custom: {
    50: '#807593',
    500: '#4e4168',
    950: '#000000',
  },
}
SCSS
$custom: #4e4168;
$custom-light: #807593;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4168",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 104
  },
  "hsl": {
    "h": 260,
    "s": 23.077,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.06578,
    "h": 298.8
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#4E4168
secondary
#89976E
accent
#C068A2
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E4168

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

Preview Lab → · Contrast checker → · Palette generator →

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