#4A4052#4A4052

#4A4052 is a dark, muted violet. Relative luminance 0.057; OKLCH L 38.9% C 0.033 H 309.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4A4052
RGBrgb(74, 64, 82)
HSLhsl(273, 12%, 29%)
HSVhsv(273, 22%, 32%)
CMYKcmyk(9.8%, 22%, 0%, 67.8%)
CIE-LABlab(28.73, 8.28, -9.23)
CIE-LCHlch(28.73, 12.40, 311.87°)
OKLaboklab(38.87% 0.0209 -0.025)
OKLCHoklch(38.87% 0.033 309.9)
XYZxyz(6.1802, 5.7319, 8.7618)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4052 #485240
analogous
#414052 #4A4052 #524051
triadic
#4A4052 #524A40 #40524A
tetradic
#4A4052 #524140 #485240 #405152
square
#4A4052 #524140 #485240 #405152
split-complementary
#4A4052 #515240 #405241
monochromatic
#100D11 #2B2530 #4A4052 #695B74 #887795

Accessibility & contrast

On white

9.78
#4A4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4052
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4052#FFFFFF#000000##FFFFFF
##4A40521.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#3F4451
Tritanopia (blue-blind)
#494246
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a4052;
/* rgb */ color: rgb(74, 64, 82);
/* oklch */ color: oklch(38.9% 0.033 309.9);
Tailwind
colors: {
  custom: {
    50: '#7c7482',
    500: '#4a4052',
    950: '#000000',
  },
}
SCSS
$custom: #4a4052;
$custom-light: #7c7482;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4052",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 273.333,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.03259,
    "h": 309.9
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#4A4052
secondary
#76816D
accent
#B57390
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #4A4052

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

Preview Lab → · Contrast checker → · Palette generator →

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