#4C3052#4C3052

#4C3052 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.7% C 0.067 H 320.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4C3052
RGBrgb(76, 48, 82)
HSLhsl(289, 26%, 25%)
HSVhsv(289, 41%, 32%)
CMYKcmyk(7.3%, 41.5%, 0%, 67.8%)
CIE-LABlab(24.51, 19.48, -15.66)
CIE-LCHlch(24.51, 24.99, 321.19°)
OKLaboklab(35.71% 0.0518 -0.0429)
OKLCHoklch(35.71% 0.067 320.4)
XYZxyz(5.5602, 4.2598, 8.5103)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3052 #365230
analogous
#3B3052 #4C3052 #523047
triadic
#4C3052 #524C30 #30524C
tetradic
#4C3052 #523B30 #365230 #304752
square
#4C3052 #523B30 #365230 #304752
split-complementary
#4C3052 #475230 #30523B
monochromatic
#120B13 #28192B #4C3052 #704779 #945D9F

Accessibility & contrast

On white

11.34
#4C3052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4C3052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3052
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3052#FFFFFF#000000##FFFFFF
##4C30521.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#333B51
Tritanopia (blue-blind)
#4D343D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c3052;
/* rgb */ color: rgb(76, 48, 82);
/* oklch */ color: oklch(35.7% 0.067 320.4);
Tailwind
colors: {
  custom: {
    50: '#7f6982',
    500: '#4c3052',
    950: '#000000',
  },
}
SCSS
$custom: #4c3052;
$custom-light: #7f6982;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3052",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 82
  },
  "hsl": {
    "h": 289.412,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.06731,
    "h": 320.4
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#4C3052
secondary
#62835B
accent
#C36576
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4C3052

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

Preview Lab → · Contrast checker → · Palette generator →

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