#4F0C47#4F0C47

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

Color values

HEX#4F0C47
RGBrgb(79, 12, 71)
HSLhsl(307, 74%, 18%)
HSVhsv(307, 85%, 31%)
CMYKcmyk(0%, 84.8%, 10.1%, 69%)
CIE-LABlab(17.37, 36.96, -19.34)
CIE-LCHlch(17.37, 41.71, 332.38°)
OKLaboklab(30.35% 0.1071 -0.0531)
OKLCHoklch(30.35% 0.12 333.6)
XYZxyz(4.4933, 2.3805, 6.1829)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C47 #0C4F14
analogous
#350C4F #4F0C47 #4F0C25
triadic
#4F0C47 #474F0C #0C474F
tetradic
#4F0C47 #4F350C #0C4F14 #0C254F
square
#4F0C47 #4F350C #0C4F14 #0C254F
split-complementary
#4F0C47 #254F0C #0C4F35
monochromatic
#1B0418 #1B0418 #4F0C47 #841477 #B91CA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F0C47#FFFFFF#000000##FFFFFF
##4F0C471.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)
#092549
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#531329
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c47;
/* rgb */ color: rgb(79, 12, 71);
/* oklch */ color: oklch(30.4% 0.120 333.6);
Tailwind
colors: {
  custom: {
    50: '#83547a',
    500: '#4f0c47',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c47;
$custom-light: #83547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c47",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 307.164,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.11954,
    "h": 333.6
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#4F0C47
secondary
#2C8B38
accent
#F04E38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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