#4C304E#4C304E

#4C304E is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.5% C 0.062 H 324.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4C304E
RGBrgb(76, 48, 78)
HSLhsl(296, 24%, 25%)
HSVhsv(296, 38%, 31%)
CMYKcmyk(2.6%, 38.5%, 0%, 69.4%)
CIE-LABlab(24.32, 18.55, -13.30)
CIE-LCHlch(24.32, 22.83, 324.37°)
OKLaboklab(35.5% 0.0507 -0.0362)
OKLCHoklch(35.5% 0.062 324.5)
XYZxyz(5.4125, 4.2007, 7.7320)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C304E #324E30
analogous
#3D304E #4C304E #4E3041
triadic
#4C304E #4E4C30 #304E4C
tetradic
#4C304E #4E3D30 #324E30 #30414E
square
#4C304E #4E3D30 #324E30 #30414E
split-complementary
#4C304E #414E30 #304E3D
monochromatic
#120C13 #271928 #4C304E #714774 #965F9A

Accessibility & contrast

On white

11.41
#4C304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4C304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C304E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C304E#FFFFFF#000000##FFFFFF
##4C304E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#4D333B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c304e;
/* rgb */ color: rgb(76, 48, 78);
/* oklch */ color: oklch(35.5% 0.062 324.5);
Tailwind
colors: {
  custom: {
    50: '#7e697f',
    500: '#4c304e',
    950: '#000000',
  },
}
SCSS
$custom: #4c304e;
$custom-light: #7e697f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c304e",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 296,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.06232,
    "h": 324.5
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#4C304E
secondary
#5D7F5B
accent
#C0686D
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4C304E

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

Preview Lab → · Contrast checker → · Palette generator →

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