#4F1148#4F1148

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

Color values

HEX#4F1148
RGBrgb(79, 17, 72)
HSLhsl(307, 65%, 19%)
HSVhsv(307, 78%, 31%)
CMYKcmyk(0%, 78.5%, 8.9%, 69%)
CIE-LABlab(18.06, 35.33, -18.94)
CIE-LCHlch(18.06, 40.09, 331.80°)
OKLaboklab(30.87% 0.1019 -0.052)
OKLCHoklch(30.87% 0.114 333)
XYZxyz(4.5946, 2.5314, 6.3763)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1148 #114F18
analogous
#37114F #4F1148 #4F1129
triadic
#4F1148 #484F11 #11484F
tetradic
#4F1148 #4F3711 #114F18 #11294F
square
#4F1148 #4F3711 #114F18 #11294F
split-complementary
#4F1148 #294F11 #114F37
monochromatic
#190517 #1D061A #4F1148 #811C76 #B427A4

Accessibility & contrast

On white

13.94
#4F1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1148
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1148#FFFFFF#000000##FFFFFF
##4F11481.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E264A
Deuteranopia (green-blind)
#252F46
Tritanopia (blue-blind)
#53172B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1148;
/* rgb */ color: rgb(79, 17, 72);
/* oklch */ color: oklch(30.9% 0.114 333.0);
Tailwind
colors: {
  custom: {
    50: '#83567b',
    500: '#4f1148',
    950: '#000000',
  },
}
SCSS
$custom: #4f1148;
$custom-light: #83567b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1148",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 306.774,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.11437,
    "h": 333
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#4F1148
secondary
#33883D
accent
#E85340
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1148

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

Preview Lab → · Contrast checker → · Palette generator →

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