#4F1346#4F1346

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

Color values

HEX#4F1346
RGBrgb(79, 19, 70)
HSLhsl(309, 61%, 19%)
HSVhsv(309, 76%, 31%)
CMYKcmyk(0%, 75.9%, 11.4%, 69%)
CIE-LABlab(18.23, 34.16, -17.29)
CIE-LCHlch(18.23, 38.28, 333.15°)
OKLaboklab(30.96% 0.0993 -0.0472)
OKLCHoklch(30.96% 0.11 334.6)
XYZxyz(4.5629, 2.5706, 6.0490)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1346 #134F1C
analogous
#3A134F #4F1346 #4F1328
triadic
#4F1346 #464F13 #13464F
tetradic
#4F1346 #4F3A13 #134F1C #13284F
square
#4F1346 #4F3A13 #134F1C #13284F
split-complementary
#4F1346 #284F13 #134F3A
monochromatic
#190616 #1E071A #4F1346 #801F72 #B22B9D

Accessibility & contrast

On white

13.87
#4F1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1346
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1346#FFFFFF#000000##FFFFFF
##4F13461.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122747
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#53182A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1346;
/* rgb */ color: rgb(79, 19, 70);
/* oklch */ color: oklch(31.0% 0.110 334.6);
Tailwind
colors: {
  custom: {
    50: '#835779',
    500: '#4f1346',
    950: '#000000',
  },
}
SCSS
$custom: #4f1346;
$custom-light: #835779;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1346",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 309,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.10996,
    "h": 334.6
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#4F1346
secondary
#368842
accent
#E45C43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1346

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

Preview Lab → · Contrast checker → · Palette generator →

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