#4F2249#4F2249

#4F2249 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.2% C 0.088 H 332.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4F2249
RGBrgb(79, 34, 73)
HSLhsl(308, 40%, 22%)
HSVhsv(308, 57%, 31%)
CMYKcmyk(0%, 57%, 7.6%, 69%)
CIE-LABlab(21.16, 27.16, -14.78)
CIE-LCHlch(21.16, 30.92, 331.44°)
OKLaboklab(33.15% 0.0778 -0.0402)
OKLCHoklch(33.15% 0.088 332.6)
XYZxyz(4.9991, 3.2877, 6.6733)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2249 #224F28
analogous
#3F224F #4F2249 #4F2233
triadic
#4F2249 #494F22 #22494F
tetradic
#4F2249 #4F3F22 #224F28 #22334F
square
#4F2249 #4F3F22 #224F28 #22334F
split-complementary
#4F2249 #334F22 #224F3F
monochromatic
#150914 #241021 #4F2249 #7A3471 #A54798

Accessibility & contrast

On white

12.67
#4F2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2249
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2249#FFFFFF#000000##FFFFFF
##4F22491.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4A
Deuteranopia (green-blind)
#2E3548
Tritanopia (blue-blind)
#522532
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f2249;
/* rgb */ color: rgb(79, 34, 73);
/* oklch */ color: oklch(33.2% 0.088 332.6);
Tailwind
colors: {
  custom: {
    50: '#825f7c',
    500: '#4f2249',
    950: '#000000',
  },
}
SCSS
$custom: #4f2249;
$custom-light: #825f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2249",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 308,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33153,
    "c": 0.08755,
    "h": 332.6
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#4F2249
secondary
#4A8351
accent
#D06858
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4F2249

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

Preview Lab → · Contrast checker → · Palette generator →

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