#4F1145#4F1145

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

Color values

HEX#4F1145
RGBrgb(79, 17, 69)
HSLhsl(310, 65%, 19%)
HSVhsv(310, 78%, 31%)
CMYKcmyk(0%, 78.5%, 12.7%, 69%)
CIE-LABlab(17.89, 34.80, -17.14)
CIE-LCHlch(17.89, 38.79, 333.78°)
OKLaboklab(30.69% 0.1016 -0.0468)
OKLCHoklch(30.69% 0.112 335.3)
XYZxyz(4.4991, 2.4932, 5.8734)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1145 #114F1B
analogous
#3A114F #4F1145 #4F1126
triadic
#4F1145 #454F11 #11454F
tetradic
#4F1145 #4F3A11 #114F1B #11264F
square
#4F1145 #4F3A11 #114F1B #11264F
split-complementary
#4F1145 #264F11 #114F3A
monochromatic
#190516 #1D0619 #4F1145 #811C71 #B4279D

Accessibility & contrast

On white

14.01
#4F1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1145
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1145#FFFFFF#000000##FFFFFF
##4F11451.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112646
Deuteranopia (green-blind)
#272F44
Tritanopia (blue-blind)
#531629
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1145;
/* rgb */ color: rgb(79, 17, 69);
/* oklch */ color: oklch(30.7% 0.112 335.3);
Tailwind
colors: {
  custom: {
    50: '#835679',
    500: '#4f1145',
    950: '#000000',
  },
}
SCSS
$custom: #4f1145;
$custom-light: #835679;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1145",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 309.677,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3069,
    "c": 0.11187,
    "h": 335.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#4F1145
secondary
#338841
accent
#E85B40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1145

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

Preview Lab → · Contrast checker → · Palette generator →

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