#4E4068#4E4068

#4E4068 is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.4% C 0.068 H 299.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4068
RGBrgb(78, 64, 104)
HSLhsl(261, 24%, 33%)
HSVhsv(261, 38%, 41%)
CMYKcmyk(25%, 38.5%, 0%, 59.2%)
CIE-LABlab(30.12, 15.40, -21.22)
CIE-LCHlch(30.12, 26.22, 305.98°)
OKLaboklab(40.37% 0.0333 -0.0589)
OKLCHoklch(40.37% 0.068 299.5)
XYZxyz(7.4734, 6.2859, 13.9136)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4068 #5A6840
analogous
#404668 #4E4068 #624068
triadic
#4E4068 #684E40 #40684E
tetradic
#4E4068 #684046 #5A6840 #406862
square
#4E4068 #684046 #5A6840 #406862
split-complementary
#4E4068 #686240 #466840
monochromatic
#15111C #322942 #4E4068 #6A578E #8977AB

Accessibility & contrast

On white

9.30
#4E4068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E4068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4068
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4068#FFFFFF#000000##FFFFFF
##4E40681.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36476A
Deuteranopia (green-blind)
#394767
Tritanopia (blue-blind)
#49474F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4068;
/* rgb */ color: rgb(78, 64, 104);
/* oklch */ color: oklch(40.4% 0.068 299.5);
Tailwind
colors: {
  custom: {
    50: '#807593',
    500: '#4e4068',
    950: '#000000',
  },
}
SCSS
$custom: #4e4068;
$custom-light: #807593;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4068",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 104
  },
  "hsl": {
    "h": 261,
    "s": 23.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.06765,
    "h": 299.5
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#4E4068
secondary
#88976D
accent
#C068A1
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E4068

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

Preview Lab → · Contrast checker → · Palette generator →

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