#4F1247#4F1247

#4F1247 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.112 H 333.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4F1247
RGBrgb(79, 18, 71)
HSLhsl(308, 63%, 19%)
HSVhsv(308, 77%, 31%)
CMYKcmyk(0%, 77.2%, 10.1%, 69%)
CIE-LABlab(18.14, 34.75, -18.12)
CIE-LCHlch(18.14, 39.19, 332.46°)
OKLaboklab(30.91% 0.1006 -0.0496)
OKLCHoklch(30.91% 0.112 333.8)
XYZxyz(4.5781, 2.5502, 6.2111)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1247 #124F1A
analogous
#39124F #4F1247 #4F1229
triadic
#4F1247 #474F12 #12474F
tetradic
#4F1247 #4F3912 #124F1A #12294F
square
#4F1247 #4F3912 #124F1A #12294F
split-complementary
#4F1247 #294F12 #124F39
monochromatic
#190616 #1D071A #4F1247 #811D74 #B329A1

Accessibility & contrast

On white

13.91
#4F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1247
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1247#FFFFFF#000000##FFFFFF
##4F12471.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102748
Deuteranopia (green-blind)
#262F46
Tritanopia (blue-blind)
#53172B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1247;
/* rgb */ color: rgb(79, 18, 71);
/* oklch */ color: oklch(30.9% 0.112 333.8);
Tailwind
colors: {
  custom: {
    50: '#83577a',
    500: '#4f1247',
    950: '#000000',
  },
}
SCSS
$custom: #4f1247;
$custom-light: #83577a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1247",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 307.869,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.11219,
    "h": 333.8
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#4F1247
secondary
#358840
accent
#E65742
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1247

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

Preview Lab → · Contrast checker → · Palette generator →

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