#4F1147#4F1147

#4F1147 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.114 H 333.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4F1147
RGBrgb(79, 17, 71)
HSLhsl(308, 65%, 19%)
HSVhsv(308, 78%, 31%)
CMYKcmyk(0%, 78.5%, 10.1%, 69%)
CIE-LABlab(18.00, 35.15, -18.34)
CIE-LCHlch(18.00, 39.65, 332.44°)
OKLaboklab(30.81% 0.1018 -0.0502)
OKLCHoklch(30.81% 0.114 333.7)
XYZxyz(4.5623, 2.5185, 6.2058)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1147 #114F19
analogous
#38114F #4F1147 #4F1128
triadic
#4F1147 #474F11 #11474F
tetradic
#4F1147 #4F3811 #114F19 #11284F
square
#4F1147 #4F3811 #114F19 #11284F
split-complementary
#4F1147 #284F11 #114F38
monochromatic
#190517 #1D061A #4F1147 #811C74 #B427A2

Accessibility & contrast

On white

13.97
#4F1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1147
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1147#FFFFFF#000000##FFFFFF
##4F11471.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2649
Deuteranopia (green-blind)
#262F45
Tritanopia (blue-blind)
#53172A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1147;
/* rgb */ color: rgb(79, 17, 71);
/* oklch */ color: oklch(30.8% 0.114 333.7);
Tailwind
colors: {
  custom: {
    50: '#83567a',
    500: '#4f1147',
    950: '#000000',
  },
}
SCSS
$custom: #4f1147;
$custom-light: #83567a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1147",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 307.742,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.11352,
    "h": 333.7
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#4F1147
secondary
#33883E
accent
#E85640
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1147

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

Preview Lab → · Contrast checker → · Palette generator →

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