#4A2F4E#4A2F4E

#4A2F4E is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.1% C 0.063 H 322.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#4A2F4E
RGBrgb(74, 47, 78)
HSLhsl(292, 25%, 25%)
HSVhsv(292, 40%, 31%)
CMYKcmyk(5.1%, 39.7%, 0%, 69.4%)
CIE-LABlab(23.80, 18.45, -14.13)
CIE-LCHlch(23.80, 23.23, 322.56°)
OKLaboklab(35.05% 0.0497 -0.0386)
OKLCHoklch(35.05% 0.063 322.2)
XYZxyz(5.2155, 4.0391, 7.7111)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2F4E #334E2F
analogous
#3B2F4E #4A2F4E #4E2F43
triadic
#4A2F4E #4E4A2F #2F4E4A
tetradic
#4A2F4E #4E3B2F #334E2F #2F434E
square
#4A2F4E #4E3B2F #334E2F #2F434E
split-complementary
#4A2F4E #434E2F #2F4E3B
monochromatic
#120C13 #261828 #4A2F4E #6E4674 #925D9A

Accessibility & contrast

On white

11.62
#4A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4A2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2F4E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2F4E#FFFFFF#000000##FFFFFF
##4A2F4E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#323A4D
Tritanopia (blue-blind)
#4B323B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2f4e;
/* rgb */ color: rgb(74, 47, 78);
/* oklch */ color: oklch(35.1% 0.063 322.2);
Tailwind
colors: {
  custom: {
    50: '#7d687f',
    500: '#4a2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4a2f4e;
$custom-light: #7d687f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2f4e",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 292.258,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35051,
    "c": 0.06295,
    "h": 322.2
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#4A2F4E
secondary
#5E7F5A
accent
#C16772
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#09060A
muted
#7B7A7C

Preview Lab

Preview with #4A2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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