#4F1248#4F1248

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

Color values

HEX#4F1248
RGBrgb(79, 18, 72)
HSLhsl(307, 63%, 19%)
HSVhsv(307, 77%, 31%)
CMYKcmyk(0%, 77.2%, 8.9%, 69%)
CIE-LABlab(18.20, 34.93, -18.72)
CIE-LCHlch(18.20, 39.63, 331.81°)
OKLaboklab(30.97% 0.1007 -0.0513)
OKLCHoklch(30.97% 0.113 333)
XYZxyz(4.6105, 2.5631, 6.3815)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1248 #124F19
analogous
#38124F #4F1248 #4F122A
triadic
#4F1248 #484F12 #12484F
tetradic
#4F1248 #4F3812 #124F19 #122A4F
square
#4F1248 #4F3812 #124F19 #122A4F
split-complementary
#4F1248 #2A4F12 #124F38
monochromatic
#190617 #1D071B #4F1248 #811D75 #B329A3

Accessibility & contrast

On white

13.88
#4F1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1248
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1248#FFFFFF#000000##FFFFFF
##4F12481.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274A
Deuteranopia (green-blind)
#263046
Tritanopia (blue-blind)
#53182B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1248;
/* rgb */ color: rgb(79, 18, 72);
/* oklch */ color: oklch(31.0% 0.113 333.0);
Tailwind
colors: {
  custom: {
    50: '#83577b',
    500: '#4f1248',
    950: '#000000',
  },
}
SCSS
$custom: #4f1248;
$custom-light: #83577b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1248",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 306.885,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30973,
    "c": 0.11305,
    "h": 333
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#4F1248
secondary
#35883E
accent
#E65542
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1248

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

Preview Lab → · Contrast checker → · Palette generator →

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