#4F1546#4F1546

#4F1546 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.107 H 334.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4F1546
RGBrgb(79, 21, 70)
HSLhsl(309, 58%, 20%)
HSVhsv(309, 73%, 31%)
CMYKcmyk(0%, 73.4%, 11.4%, 69%)
CIE-LABlab(18.55, 33.28, -16.80)
CIE-LCHlch(18.55, 37.28, 333.21°)
OKLaboklab(31.18% 0.0967 -0.0459)
OKLCHoklch(31.18% 0.107 334.6)
XYZxyz(4.5981, 2.6412, 6.0608)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1546 #154F1E
analogous
#3B154F #4F1546 #4F1529
triadic
#4F1546 #464F15 #15464F
tetradic
#4F1546 #4F3B15 #154F1E #15294F
square
#4F1546 #4F3B15 #154F1E #15294F
split-complementary
#4F1546 #294F15 #154F3B
monochromatic
#180615 #1F081B #4F1546 #7F2271 #B02F9C

Accessibility & contrast

On white

13.74
#4F1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1546
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1546#FFFFFF#000000##FFFFFF
##4F15461.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152847
Deuteranopia (green-blind)
#283045
Tritanopia (blue-blind)
#53192B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1546;
/* rgb */ color: rgb(79, 21, 70);
/* oklch */ color: oklch(31.2% 0.107 334.6);
Tailwind
colors: {
  custom: {
    50: '#835879',
    500: '#4f1546',
    950: '#000000',
  },
}
SCSS
$custom: #4f1546;
$custom-light: #835879;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1546",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 309.31,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.10705,
    "h": 334.6
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#4F1546
secondary
#398745
accent
#E15F47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1546

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

Preview Lab → · Contrast checker → · Palette generator →

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