#4F0F49#4F0F49

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

Color values

HEX#4F0F49
RGBrgb(79, 15, 73)
HSLhsl(306, 68%, 18%)
HSVhsv(306, 81%, 31%)
CMYKcmyk(0%, 81%, 7.6%, 69%)
CIE-LABlab(17.85, 36.27, -19.96)
CIE-LCHlch(17.85, 41.40, 331.18°)
OKLaboklab(30.74% 0.1042 -0.0549)
OKLCHoklch(30.74% 0.118 332.2)
XYZxyz(4.5979, 2.4853, 6.5396)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F49 #0F4F15
analogous
#350F4F #4F0F49 #4F0F29
triadic
#4F0F49 #494F0F #0F494F
tetradic
#4F0F49 #4F350F #0F4F15 #0F294F
square
#4F0F49 #4F350F #0F4F15 #0F294F
split-complementary
#4F0F49 #294F0F #0F4F35
monochromatic
#1A0518 #1C0519 #4F0F49 #821979 #B623A8

Accessibility & contrast

On white

14.03
#4F0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F49
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F49#FFFFFF#000000##FFFFFF
##4F0F491.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264B
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#53162B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f49;
/* rgb */ color: rgb(79, 15, 73);
/* oklch */ color: oklch(30.7% 0.118 332.2);
Tailwind
colors: {
  custom: {
    50: '#83557c',
    500: '#4f0f49',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f49;
$custom-light: #83557c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f49",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 305.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3074,
    "c": 0.11774,
    "h": 332.2
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#4F0F49
secondary
#318939
accent
#EB4D3D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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