#4A3052#4A3052

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

Color values

HEX#4A3052
RGBrgb(74, 48, 82)
HSLhsl(286, 26%, 25%)
HSVhsv(286, 41%, 32%)
CMYKcmyk(9.8%, 41.5%, 0%, 67.8%)
CIE-LABlab(24.25, 18.75, -16.08)
CIE-LCHlch(24.25, 24.70, 319.38°)
OKLaboklab(35.46% 0.0491 -0.0442)
OKLCHoklch(35.46% 0.066 318)
XYZxyz(5.4038, 4.1791, 8.5030)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3052 #385230
analogous
#393052 #4A3052 #523049
triadic
#4A3052 #524A30 #30524A
tetradic
#4A3052 #523930 #385230 #304952
square
#4A3052 #523930 #385230 #304952
split-complementary
#4A3052 #495230 #305239
monochromatic
#110B13 #27192B #4A3052 #6D4779 #905D9F

Accessibility & contrast

On white

11.44
#4A3052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A3052
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3052#FFFFFF#000000##FFFFFF
##4A30521.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#323B51
Tritanopia (blue-blind)
#4A343D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a3052;
/* rgb */ color: rgb(74, 48, 82);
/* oklch */ color: oklch(35.5% 0.066 318.0);
Tailwind
colors: {
  custom: {
    50: '#7d6982',
    500: '#4a3052',
    950: '#000000',
  },
}
SCSS
$custom: #4a3052;
$custom-light: #7d6982;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3052",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 82
  },
  "hsl": {
    "h": 285.882,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35457,
    "c": 0.06602,
    "h": 318
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#4A3052
secondary
#64835B
accent
#C3657B
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4A3052

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

Preview Lab → · Contrast checker → · Palette generator →

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