#4F0C46#4F0C46

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

Color values

HEX#4F0C46
RGBrgb(79, 12, 70)
HSLhsl(308, 74%, 18%)
HSVhsv(308, 85%, 31%)
CMYKcmyk(0%, 84.8%, 11.4%, 69%)
CIE-LABlab(17.31, 36.79, -18.74)
CIE-LCHlch(17.31, 41.29, 333.00°)
OKLaboklab(30.29% 0.1071 -0.0513)
OKLCHoklch(30.29% 0.119 334.4)
XYZxyz(4.4615, 2.3678, 6.0152)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C46 #0C4F15
analogous
#360C4F #4F0C46 #4F0C24
triadic
#4F0C46 #464F0C #0C464F
tetradic
#4F0C46 #4F360C #0C4F15 #0C244F
square
#4F0C46 #4F360C #0C4F15 #0C244F
split-complementary
#4F0C46 #244F0C #0C4F36
monochromatic
#1B0418 #1B0418 #4F0C46 #841475 #B91CA4

Accessibility & contrast

On white

14.25
#4F0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C46
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C46#FFFFFF#000000##FFFFFF
##4F0C461.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2448
Deuteranopia (green-blind)
#242E44
Tritanopia (blue-blind)
#531328
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c46;
/* rgb */ color: rgb(79, 12, 70);
/* oklch */ color: oklch(30.3% 0.119 334.4);
Tailwind
colors: {
  custom: {
    50: '#835479',
    500: '#4f0c46',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c46;
$custom-light: #835479;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c46",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 308.06,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30293,
    "c": 0.11872,
    "h": 334.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#4F0C46
secondary
#2C8B39
accent
#F05038
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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