#4A4258#4A4258

#4A4258 is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.6% C 0.038 H 301.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4A4258
RGBrgb(74, 66, 88)
HSLhsl(262, 14%, 30%)
HSVhsv(262, 25%, 35%)
CMYKcmyk(15.9%, 25%, 0%, 65.5%)
CIE-LABlab(29.56, 8.46, -11.86)
CIE-LCHlch(29.56, 14.57, 305.50°)
OKLaboklab(39.6% 0.0197 -0.0323)
OKLCHoklch(39.6% 0.038 301.3)
XYZxyz(6.5334, 6.0569, 10.0555)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4258 #505842
analogous
#424558 #4A4258 #554258
triadic
#4A4258 #584A42 #42584A
tetradic
#4A4258 #584245 #505842 #425855
square
#4A4258 #584245 #505842 #425855
split-complementary
#4A4258 #585542 #455842
monochromatic
#0F0E12 #2D2835 #4A4258 #675C7B #867A9B

Accessibility & contrast

On white

9.50
#4A4258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4A4258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4258
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4258#FFFFFF#000000##FFFFFF
##4A42581.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4559
Deuteranopia (green-blind)
#3F4657
Tritanopia (blue-blind)
#48454A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a4258;
/* rgb */ color: rgb(74, 66, 88);
/* oklch */ color: oklch(39.6% 0.038 301.3);
Tailwind
colors: {
  custom: {
    50: '#7c7687',
    500: '#4a4258',
    950: '#000000',
  },
}
SCSS
$custom: #4a4258;
$custom-light: #7c7687;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4258",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 261.818,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.03787,
    "h": 301.3
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#4A4258
secondary
#7E876F
accent
#B7719D
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#09080B
muted
#7B7B7C

Preview Lab

Preview with #4A4258

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

Preview Lab → · Contrast checker → · Palette generator →

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