#4C405A#4C405A

#4C405A is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.4% C 0.046 H 305.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4C405A
RGBrgb(76, 64, 90)
HSLhsl(268, 17%, 30%)
HSVhsv(268, 29%, 35%)
CMYKcmyk(15.6%, 28.9%, 0%, 64.7%)
CIE-LABlab(29.26, 11.02, -13.58)
CIE-LCHlch(29.26, 17.48, 309.06°)
OKLaboklab(39.45% 0.0265 -0.0371)
OKLCHoklch(39.45% 0.046 305.5)
XYZxyz(6.6590, 5.9415, 10.4669)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C405A #4E5A40
analogous
#40415A #4C405A #59405A
triadic
#4C405A #5A4C40 #405A4C
tetradic
#4C405A #5A4041 #4E5A40 #405A59
square
#4C405A #5A4041 #4E5A40 #405A59
split-complementary
#4C405A #5A5940 #415A40
monochromatic
#100D12 #2E2736 #4C405A #6A597E #89769E

Accessibility & contrast

On white

9.60
#4C405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4C405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C405A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C405A#FFFFFF#000000##FFFFFF
##4C405A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#3D4559
Tritanopia (blue-blind)
#4A4449
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c405a;
/* rgb */ color: rgb(76, 64, 90);
/* oklch */ color: oklch(39.4% 0.046 305.5);
Tailwind
colors: {
  custom: {
    50: '#7e7488',
    500: '#4c405a',
    950: '#000000',
  },
}
SCSS
$custom: #4c405a;
$custom-light: #7e7488;
$custom-dark: #000000;
JSON
{
  "hex": "#4c405a",
  "rgb": {
    "r": 76,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 267.692,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.0456,
    "h": 305.5
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#4C405A
secondary
#7C896C
accent
#BA6E97
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4C405A

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

Preview Lab → · Contrast checker → · Palette generator →

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