#4F0D45#4F0D45

#4F0D45 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.117 H 335.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4F0D45
RGBrgb(79, 13, 69)
HSLhsl(309, 72%, 18%)
HSVhsv(309, 84%, 31%)
CMYKcmyk(0%, 83.5%, 12.7%, 69%)
CIE-LABlab(17.37, 36.28, -17.96)
CIE-LCHlch(17.37, 40.48, 333.67°)
OKLaboklab(30.32% 0.106 -0.0491)
OKLCHoklch(30.32% 0.117 335.1)
XYZxyz(4.4426, 2.3802, 5.8545)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D45 #0D4F17
analogous
#380D4F #4F0D45 #4F0D24
triadic
#4F0D45 #454F0D #0D454F
tetradic
#4F0D45 #4F380D #0D4F17 #0D244F
square
#4F0D45 #4F380D #0D4F17 #0D244F
split-complementary
#4F0D45 #244F0D #0D4F38
monochromatic
#1A0417 #1A0417 #4F0D45 #841673 #B81EA1

Accessibility & contrast

On white

14.23
#4F0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D45
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D45#FFFFFF#000000##FFFFFF
##4F0D451.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2446
Deuteranopia (green-blind)
#252E43
Tritanopia (blue-blind)
#531328
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0d45;
/* rgb */ color: rgb(79, 13, 69);
/* oklch */ color: oklch(30.3% 0.117 335.1);
Tailwind
colors: {
  custom: {
    50: '#835479',
    500: '#4f0d45',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d45;
$custom-light: #835479;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d45",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 309.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30316,
    "c": 0.11681,
    "h": 335.1
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#4F0D45
secondary
#2E8A3C
accent
#EE5539
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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