#4F1348#4F1348

#4F1348 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.112 H 333.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#4F1348
RGBrgb(79, 19, 72)
HSLhsl(307, 61%, 19%)
HSVhsv(307, 76%, 31%)
CMYKcmyk(0%, 75.9%, 8.9%, 69%)
CIE-LABlab(18.35, 34.51, -18.49)
CIE-LCHlch(18.35, 39.15, 331.82°)
OKLaboklab(31.08% 0.0995 -0.0507)
OKLCHoklch(31.08% 0.112 333)
XYZxyz(4.6270, 2.5963, 6.3871)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1348 #134F1A
analogous
#38134F #4F1348 #4F132A
triadic
#4F1348 #484F13 #13484F
tetradic
#4F1348 #4F3813 #134F1A #132A4F
square
#4F1348 #4F3813 #134F1A #132A4F
split-complementary
#4F1348 #2A4F13 #134F38
monochromatic
#190616 #1E071B #4F1348 #801F75 #B22BA2

Accessibility & contrast

On white

13.82
#4F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1348
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1348#FFFFFF#000000##FFFFFF
##4F13481.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11274A
Deuteranopia (green-blind)
#263047
Tritanopia (blue-blind)
#53192B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1348;
/* rgb */ color: rgb(79, 19, 72);
/* oklch */ color: oklch(31.1% 0.112 333.0);
Tailwind
colors: {
  custom: {
    50: '#83577b',
    500: '#4f1348',
    950: '#000000',
  },
}
SCSS
$custom: #4f1348;
$custom-light: #83577b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1348",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 307,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31078,
    "c": 0.11167,
    "h": 333
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#4F1348
secondary
#368840
accent
#E45643
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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