#4F1249#4F1249

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

Color values

HEX#4F1249
RGBrgb(79, 18, 73)
HSLhsl(306, 63%, 19%)
HSVhsv(306, 77%, 31%)
CMYKcmyk(0%, 77.2%, 7.6%, 69%)
CIE-LABlab(18.26, 35.11, -19.32)
CIE-LCHlch(18.26, 40.07, 331.18°)
OKLaboklab(31.03% 0.1008 -0.053)
OKLCHoklch(31.03% 0.114 332.2)
XYZxyz(4.6434, 2.5763, 6.5548)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1249 #124F18
analogous
#37124F #4F1249 #4F122B
triadic
#4F1249 #494F12 #12494F
tetradic
#4F1249 #4F3712 #124F18 #122B4F
square
#4F1249 #4F3712 #124F18 #122B4F
split-complementary
#4F1249 #2B4F12 #124F37
monochromatic
#190617 #1D071B #4F1249 #811D77 #B329A5

Accessibility & contrast

On white

13.86
#4F1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1249
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1249#FFFFFF#000000##FFFFFF
##4F12491.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274B
Deuteranopia (green-blind)
#253047
Tritanopia (blue-blind)
#53182C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1249;
/* rgb */ color: rgb(79, 18, 73);
/* oklch */ color: oklch(31.0% 0.114 332.2);
Tailwind
colors: {
  custom: {
    50: '#83577c',
    500: '#4f1249',
    950: '#000000',
  },
}
SCSS
$custom: #4f1249;
$custom-light: #83577c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1249",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 305.902,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31034,
    "c": 0.11391,
    "h": 332.2
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#4F1249
secondary
#35883D
accent
#E65242
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1249

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

Preview Lab → · Contrast checker → · Palette generator →

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