#4C4079#4C4079

#4C4079 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.093 H 291.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4C4079
RGBrgb(76, 64, 121)
HSLhsl(253, 31%, 36%)
HSVhsv(253, 47%, 47%)
CMYKcmyk(37.2%, 47.1%, 0%, 52.5%)
CIE-LABlab(30.84, 19.61, -30.85)
CIE-LCHlch(30.84, 36.56, 302.45°)
OKLaboklab(41.16% 0.0341 -0.0869)
OKLCHoklch(41.16% 0.093 291.4)
XYZxyz(8.2642, 6.5836, 18.9208)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4079 #6D7940
analogous
#405179 #4C4079 #694079
triadic
#4C4079 #794C40 #40794C
tetradic
#4C4079 #794051 #6D7940 #407969
square
#4C4079 #794051 #6D7940 #407969
split-complementary
#4C4079 #796940 #517940
monochromatic
#1A1629 #332B51 #4C4079 #6555A1 #887AB9

Accessibility & contrast

On white

9.06
#4C4079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4C4079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4079
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4079#FFFFFF#000000##FFFFFF
##4C40791.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#2E4778
Tritanopia (blue-blind)
#414B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c4079;
/* rgb */ color: rgb(76, 64, 121);
/* oklch */ color: oklch(41.2% 0.093 291.4);
Tailwind
colors: {
  custom: {
    50: '#8075a0',
    500: '#4c4079',
    950: '#000000',
  },
}
SCSS
$custom: #4c4079;
$custom-light: #8075a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4079",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 252.632,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.09335,
    "h": 291.4
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#4C4079
secondary
#99A471
accent
#C761B1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4C4079

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

Preview Lab → · Contrast checker → · Palette generator →

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