#4C4262#4C4262

#4C4262 is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.3% C 0.054 H 298.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4C4262
RGBrgb(76, 66, 98)
HSLhsl(259, 20%, 32%)
HSVhsv(259, 33%, 38%)
CMYKcmyk(22.4%, 32.7%, 0%, 61.6%)
CIE-LABlab(30.19, 11.79, -17.29)
CIE-LCHlch(30.19, 20.93, 304.30°)
OKLaboklab(40.28% 0.0257 -0.0477)
OKLCHoklch(40.28% 0.054 298.3)
XYZxyz(7.1328, 6.3147, 12.3960)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4262 #586242
analogous
#424862 #4C4262 #5C4262
triadic
#4C4262 #624C42 #42624C
tetradic
#4C4262 #624248 #586242 #42625C
square
#4C4262 #624248 #586242 #42625C
split-complementary
#4C4262 #625C42 #486242
monochromatic
#131119 #30293D #4C4262 #685B87 #8779A5

Accessibility & contrast

On white

9.28
#4C4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4C4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4262
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4262#FFFFFF#000000##FFFFFF
##4C42621.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#3C4761
Tritanopia (blue-blind)
#48474D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4262;
/* rgb */ color: rgb(76, 66, 98);
/* oklch */ color: oklch(40.3% 0.054 298.3);
Tailwind
colors: {
  custom: {
    50: '#7e768e',
    500: '#4c4262',
    950: '#000000',
  },
}
SCSS
$custom: #4c4262;
$custom-light: #7e768e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4262",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 258.75,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.05416,
    "h": 298.3
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#4C4262
secondary
#86916F
accent
#BC6CA3
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4C4262

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

Preview Lab → · Contrast checker → · Palette generator →

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