#4A304C#4A304C

#4A304C is a dark, muted purple. Relative luminance 0.041; OKLCH L 35.1% C 0.058 H 324.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4A304C
RGBrgb(74, 48, 76)
HSLhsl(296, 23%, 24%)
HSVhsv(296, 37%, 30%)
CMYKcmyk(2.6%, 36.8%, 0%, 70.2%)
CIE-LABlab(23.97, 17.34, -12.53)
CIE-LCHlch(23.97, 21.39, 324.16°)
OKLaboklab(35.15% 0.0474 -0.0341)
OKLCHoklch(35.15% 0.058 324.3)
XYZxyz(5.1854, 4.0917, 7.3527)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A304C #324C30
analogous
#3C304C #4A304C #4C3040
triadic
#4A304C #4C4A30 #304C4A
tetradic
#4A304C #4C3C30 #324C30 #30404C
square
#4A304C #4C3C30 #324C30 #30404C
split-complementary
#4A304C #404C30 #304C3C
monochromatic
#120C13 #251826 #4A304C #6F4872 #935F97

Accessibility & contrast

On white

11.55
#4A304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A304C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A304C#FFFFFF#000000##FFFFFF
##4A304C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#343A4B
Tritanopia (blue-blind)
#4B333A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a304c;
/* rgb */ color: rgb(74, 48, 76);
/* oklch */ color: oklch(35.1% 0.058 324.3);
Tailwind
colors: {
  custom: {
    50: '#7d697e',
    500: '#4a304c',
    950: '#000000',
  },
}
SCSS
$custom: #4a304c;
$custom-light: #7d697e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a304c",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 295.714,
    "s": 22.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.05834,
    "h": 324.3
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#4A304C
secondary
#5D7D5B
accent
#BF696F
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#090609
muted
#7B7A7B

Preview Lab

Preview with #4A304C

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

Preview Lab → · Contrast checker → · Palette generator →

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