#4F0F48#4F0F48

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

Color values

HEX#4F0F48
RGBrgb(79, 15, 72)
HSLhsl(307, 68%, 18%)
HSVhsv(307, 81%, 31%)
CMYKcmyk(0%, 81%, 8.9%, 69%)
CIE-LABlab(17.79, 36.09, -19.36)
CIE-LCHlch(17.79, 40.96, 331.79°)
OKLaboklab(30.68% 0.1041 -0.0532)
OKLCHoklch(30.68% 0.117 333)
XYZxyz(4.5650, 2.4722, 6.3664)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F48 #0F4F16
analogous
#360F4F #4F0F48 #4F0F28
triadic
#4F0F48 #484F0F #0F484F
tetradic
#4F0F48 #4F360F #0F4F16 #0F284F
square
#4F0F48 #4F360F #0F4F16 #0F284F
split-complementary
#4F0F48 #284F0F #0F4F36
monochromatic
#1A0517 #1C0519 #4F0F48 #821977 #B623A6

Accessibility & contrast

On white

14.05
#4F0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F0F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F48
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F48#FFFFFF#000000##FFFFFF
##4F0F481.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C264A
Deuteranopia (green-blind)
#242F46
Tritanopia (blue-blind)
#53162A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f48;
/* rgb */ color: rgb(79, 15, 72);
/* oklch */ color: oklch(30.7% 0.117 333.0);
Tailwind
colors: {
  custom: {
    50: '#83557b',
    500: '#4f0f48',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f48;
$custom-light: #83557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f48",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 306.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30678,
    "c": 0.11691,
    "h": 333
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#4F0F48
secondary
#31893A
accent
#EB503D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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