#4A2C4E#4A2C4E

#4A2C4E is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.5% C 0.069 H 322.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4A2C4E
RGBrgb(74, 44, 78)
HSLhsl(293, 28%, 24%)
HSVhsv(293, 44%, 31%)
CMYKcmyk(5.1%, 43.6%, 0%, 69.4%)
CIE-LABlab(23.02, 20.38, -15.32)
CIE-LCHlch(23.02, 25.49, 323.05°)
OKLaboklab(34.47% 0.055 -0.042)
OKLCHoklch(34.47% 0.069 322.7)
XYZxyz(5.0997, 3.8075, 7.6725)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C4E #304E2C
analogous
#392C4E #4A2C4E #4E2C41
triadic
#4A2C4E #4E4A2C #2C4E4A
tetradic
#4A2C4E #4E392C #304E2C #2C414E
square
#4A2C4E #4E392C #304E2C #2C414E
split-complementary
#4A2C4E #414E2C #2C4E39
monochromatic
#130B14 #251627 #4A2C4E #6F4275 #94589C

Accessibility & contrast

On white

11.92
#4A2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4A2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C4E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C4E#FFFFFF#000000##FFFFFF
##4A2C4E1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#4B3039
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a2c4e;
/* rgb */ color: rgb(74, 44, 78);
/* oklch */ color: oklch(34.5% 0.069 322.7);
Tailwind
colors: {
  custom: {
    50: '#7d667f',
    500: '#4a2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c4e;
$custom-light: #7d667f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c4e",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 292.941,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34466,
    "c": 0.0692,
    "h": 322.7
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#4A2C4E
secondary
#5B8056
accent
#C4646F
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4A2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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