#4A4058#4A4058

#4A4058 is a dark, muted violet. Relative luminance 0.058; OKLCH L 39.1% C 0.042 H 303.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4A4058
RGBrgb(74, 64, 88)
HSLhsl(265, 16%, 30%)
HSVhsv(265, 27%, 35%)
CMYKcmyk(15.9%, 27.3%, 0%, 65.5%)
CIE-LABlab(28.97, 9.77, -12.75)
CIE-LCHlch(28.97, 16.06, 307.45°)
OKLaboklab(39.15% 0.0231 -0.0348)
OKLCHoklch(39.15% 0.042 303.6)
XYZxyz(6.4185, 5.8272, 10.0173)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4058 #4E5840
analogous
#404258 #4A4058 #564058
triadic
#4A4058 #584A40 #40584A
tetradic
#4A4058 #584042 #4E5840 #405856
square
#4A4058 #584042 #4E5840 #405856
split-complementary
#4A4058 #585640 #425840
monochromatic
#0F0D12 #2C2635 #4A4058 #685A7B #86779C

Accessibility & contrast

On white

9.70
#4A4058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A4058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4058
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4058#FFFFFF#000000##FFFFFF
##4A40581.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#3D4457
Tritanopia (blue-blind)
#484348
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a4058;
/* rgb */ color: rgb(74, 64, 88);
/* oklch */ color: oklch(39.1% 0.042 303.6);
Tailwind
colors: {
  custom: {
    50: '#7c7487',
    500: '#4a4058',
    950: '#000000',
  },
}
SCSS
$custom: #4a4058;
$custom-light: #7c7487;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4058",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 265,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.04181,
    "h": 303.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#4A4058
secondary
#7C876C
accent
#B96F9A
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #4A4058

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

Preview Lab → · Contrast checker → · Palette generator →

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