#4F0F47#4F0F47

#4F0F47 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.116 H 333.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4F0F47
RGBrgb(79, 15, 71)
HSLhsl(308, 68%, 18%)
HSVhsv(308, 81%, 31%)
CMYKcmyk(0%, 81%, 10.1%, 69%)
CIE-LABlab(17.73, 35.92, -18.77)
CIE-LCHlch(17.73, 40.52, 332.41°)
OKLaboklab(30.62% 0.1041 -0.0514)
OKLCHoklch(30.62% 0.116 333.7)
XYZxyz(4.5326, 2.4592, 6.1960)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F47 #0F4F17
analogous
#370F4F #4F0F47 #4F0F27
triadic
#4F0F47 #474F0F #0F474F
tetradic
#4F0F47 #4F370F #0F4F17 #0F274F
square
#4F0F47 #4F370F #0F4F17 #0F274F
split-complementary
#4F0F47 #274F0F #0F4F37
monochromatic
#1A0517 #1C0519 #4F0F47 #821975 #B623A3

Accessibility & contrast

On white

14.08
#4F0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F47
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F47#FFFFFF#000000##FFFFFF
##4F0F471.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#252F45
Tritanopia (blue-blind)
#53152A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0f47;
/* rgb */ color: rgb(79, 15, 71);
/* oklch */ color: oklch(30.6% 0.116 333.7);
Tailwind
colors: {
  custom: {
    50: '#83557a',
    500: '#4f0f47',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f47;
$custom-light: #83557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f47",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 307.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30616,
    "c": 0.11607,
    "h": 333.7
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#4F0F47
secondary
#31893C
accent
#EB533D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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